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

This commit is contained in:
David Taylor 2023-01-04 12:41:35 +00:00 committed by GitHub
parent 53981dc5e3
commit 3ccc3b9bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1436 additions and 394 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

@ -1,3 +1,3 @@
{{#if (theme-setting "show_above_site_header")}}
{{mount-widget widget="category-header-widget"}}
{{/if}}
{{/if}}

View File

@ -1,3 +1,3 @@
{{#if (theme-setting "show_below_site_header")}}
{{mount-widget widget="category-header-widget"}}
{{/if}}
{{/if}}

1824
yarn.lock

File diff suppressed because it is too large Load Diff