mirror of
https://github.com/discourse/discourse-table-builder.git
synced 2025-02-16 08:24:42 +00:00
DEV: Update eslint-config-discourse, use prettier for hbs (#40)
This commit is contained in:
parent
fdc79d0cbf
commit
8285be7618
2
.github/workflows/component-linting.yml
vendored
2
.github/workflows/component-linting.yml
vendored
@ -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
|
||||
|
@ -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() {
|
||||
|
@ -9,6 +9,6 @@
|
||||
"build": "bash ./build.bash"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-discourse": "latest"
|
||||
"eslint-config-discourse": "^3.4.0"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user