DEV: Update eslint-config-discourse, use prettier for hbs (#40)

This commit is contained in:
David Taylor 2023-01-04 12:54:43 +00:00 committed by GitHub
parent fdc79d0cbf
commit 8285be7618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1583 additions and 542 deletions

View File

@ -35,7 +35,7 @@ jobs:
shell: bash
run: |
yarn prettier -v
files=$(find javascripts desktop mobile common scss -type f \( -name "*.scss" -or -name "*.js" -or -name "*.es6" \) 2> /dev/null) || true
files=$(find javascripts desktop mobile common scss -type f \( -name "*.scss" -or -name "*.js" -or -name "*.es6" -or -name "*.hbs" \) 2> /dev/null) || true
if [ -n "$files" ]; then
yarn prettier --list-different $files
fi

View File

@ -14,9 +14,9 @@ import { tracked } from "@glimmer/tracking";
export default class SpreadsheetEditor extends Component {
@tracked showEditReason = false;
@tracked loading = null;
spreadsheet = null;
defaultColWidth = 150;
@tracked loading = null;
// Getters:
get isEditingTable() {

View File

@ -65,4 +65,4 @@
</ul>
</DPopover>
</div>
</div>
</div>

View File

@ -4,4 +4,4 @@
@tableId={{this.tableId}}
@triggerModalClose={{action "closeEditModal"}}
@toolbarEvent={{this.toolbarEvent}}
/>
/>

View File

@ -9,6 +9,6 @@
"build": "bash ./build.bash"
},
"devDependencies": {
"eslint-config-discourse": "latest"
"eslint-config-discourse": "^3.4.0"
}
}
}

2113
yarn.lock

File diff suppressed because it is too large Load Diff