DEV: Update eslint-config-discourse, use prettier for hbs (#17)
This commit is contained in:
parent
e7ec81230a
commit
8fe8b1d4d1
|
@ -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
|
||||||
|
|
|
@ -28,9 +28,7 @@
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
<p class="description">
|
<p class="description">
|
||||||
{{theme-i18n
|
{{theme-i18n "builder.description.description"}}
|
||||||
"builder.description.description"
|
|
||||||
}}
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue