mirror of
https://github.com/discourse/discourse-category-banners
synced 2025-02-13 06:55:05 +00:00
DEV: Update eslint-config-discourse, use prettier for hbs (#25)
This commit is contained in:
parent
53981dc5e3
commit
3ccc3b9bdb
2
.github/workflows/component-linting.yml
vendored
2
.github/workflows/component-linting.yml
vendored
@ -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
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
{{#if (theme-setting "show_above_site_header")}}
|
{{#if (theme-setting "show_above_site_header")}}
|
||||||
{{mount-widget widget="category-header-widget"}}
|
{{mount-widget widget="category-header-widget"}}
|
||||||
{{/if}}
|
{{/if}}
|
@ -1,3 +1,3 @@
|
|||||||
{{#if (theme-setting "show_below_site_header")}}
|
{{#if (theme-setting "show_below_site_header")}}
|
||||||
{{mount-widget widget="category-header-widget"}}
|
{{mount-widget widget="category-header-widget"}}
|
||||||
{{/if}}
|
{{/if}}
|
Loading…
x
Reference in New Issue
Block a user