DEV: Update eslint-config-discourse, use prettier for hbs (#12)
This commit is contained in:
parent
f6a35a2a52
commit
57b90b1d4f
|
@ -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
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
action=(action "toggleCards")
|
action=(action "toggleCards")
|
||||||
title=(theme-prefix (if showingCards "show_table" "show_cards"))
|
title=(theme-prefix (if showingCards "show_table" "show_cards"))
|
||||||
class="btn-default open-edit-columns-btn toggle-cards-button"
|
class="btn-default open-edit-columns-btn toggle-cards-button"
|
||||||
}}
|
}}
|
|
@ -1 +1 @@
|
||||||
{{user-card-directory-toggle}}
|
{{user-card-directory-toggle}}
|
|
@ -122,4 +122,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/load-more}}
|
{{/load-more}}
|
||||||
{{/d-section}}
|
{{/d-section}}
|
Loading…
Reference in New Issue