DEV: Update eslint-config-discourse, use prettier for hbs (#40)
This commit is contained in:
parent
fdc79d0cbf
commit
8285be7618
|
@ -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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"build": "bash ./build.bash"
|
"build": "bash ./build.bash"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-discourse": "latest"
|
"eslint-config-discourse": "^3.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue