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

This commit is contained in:
David Taylor 2023-01-04 12:46:24 +00:00 committed by GitHub
parent e7ec81230a
commit 8fe8b1d4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1436 additions and 396 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

@ -28,9 +28,7 @@
}}
</div>
<p class="description">
{{theme-i18n
"builder.description.description"
}}
{{theme-i18n "builder.description.description"}}
</p>
</div>
@ -59,4 +57,4 @@
action=(action "insertPlaceholder")
label=(theme-prefix "builder.insert")
}}
</div>
</div>

1824
yarn.lock

File diff suppressed because it is too large Load Diff