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

This commit is contained in:
David Taylor 2023-01-04 12:48:00 +00:00 committed by GitHub
parent f6a35a2a52
commit 57b90b1d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1437 additions and 395 deletions

View File

@ -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

View File

@ -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"
}} }}

View File

@ -1 +1 @@
{{user-card-directory-toggle}} {{user-card-directory-toggle}}

View File

@ -122,4 +122,4 @@
</div> </div>
</div> </div>
{{/load-more}} {{/load-more}}
{{/d-section}} {{/d-section}}

1824
yarn.lock

File diff suppressed because it is too large Load Diff