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
|
||||
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() {
|
||||
|
|
|
@ -65,4 +65,4 @@
|
|||
</ul>
|
||||
</DPopover>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -4,4 +4,4 @@
|
|||
@tableId={{this.tableId}}
|
||||
@triggerModalClose={{action "closeEditModal"}}
|
||||
@toolbarEvent={{this.toolbarEvent}}
|
||||
/>
|
||||
/>
|
|
@ -9,6 +9,6 @@
|
|||
"build": "bash ./build.bash"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-discourse": "latest"
|
||||
"eslint-config-discourse": "^3.4.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue