Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 02:50:28 +01:00
Update plugin-linting.yml
Dieser Commit ist enthalten in:
Ursprung
72fc36dd67
Commit
b38f2b947f
1 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen
8
.github/workflows/plugin-linting.yml
gevendort
8
.github/workflows/plugin-linting.yml
gevendort
|
@ -37,18 +37,14 @@ jobs:
|
||||||
run: yarn install --dev
|
run: yarn install --dev
|
||||||
|
|
||||||
- name: ESLint
|
- name: ESLint
|
||||||
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,assets}/javascripts/{discourse,wizard}
|
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,assets}/javascripts/discourse
|
||||||
|
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
run: |
|
run: |
|
||||||
yarn prettier -v
|
yarn prettier -v
|
||||||
if [ -d "assets" ]; then \
|
if [ -d "assets" ]; then \
|
||||||
yarn prettier --list-different "assets/javascripts/{discourse,wizard}/**/*.{scss,js,es6}" ; \
|
yarn prettier --list-different "assets/javascripts/discourse/**/*.{scss,js,es6}" ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Until templates are converted
|
|
||||||
#- name: Ember template lint
|
|
||||||
#run: yarn ember-template-lint assets/javascripts
|
|
||||||
|
|
||||||
- name: Rubocop
|
- name: Rubocop
|
||||||
run: bundle exec rubocop .
|
run: bundle exec rubocop .
|
||||||
|
|
Laden …
In neuem Issue referenzieren