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 shell: bash
run: | run: |
yarn prettier -v 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 if [ -n "$files" ]; then
yarn prettier --list-different $files yarn prettier --list-different $files
fi fi

View File

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

View File

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

2113
yarn.lock

File diff suppressed because it is too large Load Diff