mirror of
https://github.com/discourse/discourse-gated-topics-in-category.git
synced 2025-02-26 22:09:28 +00:00
DEV: Update eslint-config-discourse, use prettier for hbs (#17)
This commit is contained in:
parent
3e414b43e3
commit
d217072243
2
.github/workflows/component-linting.yml
vendored
2
.github/workflows/component-linting.yml
vendored
@ -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
|
||||
|
@ -1 +1 @@
|
||||
{{topic-in-gated-category categoryId=model.category_id tags=model.tags}}
|
||||
{{topic-in-gated-category categoryId=model.category_id tags=model.tags}}
|
@ -29,4 +29,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
Loading…
x
Reference in New Issue
Block a user