Update linting workflow
Dieser Commit ist enthalten in:
Ursprung
85c9629da6
Commit
d2c1a30410
1 geänderte Dateien mit 3 neuen und 6 gelöschten Zeilen
9
.github/workflows/plugin-linting.yml
gevendort
9
.github/workflows/plugin-linting.yml
gevendort
|
@ -37,20 +37,17 @@ 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
|
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,assets}/javascripts/{discourse,wizard}
|
||||||
|
|
||||||
- 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/**/*.{scss,js,es6}" ; \
|
yarn prettier --list-different "assets/javascripts/{discourse,wizard}/**/*.{scss,js,es6}" ; \
|
||||||
fi
|
|
||||||
if [ -d "test" ]; then \
|
|
||||||
yarn prettier --list-different "test/**/*.{js,es6}" ; \
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Ember template lint
|
- name: Ember template lint
|
||||||
run: yarn ember-template-lint assets/javascripts
|
run: yarn ember-template-lint assets/javascripts
|
||||||
|
|
||||||
- name: Rubocop
|
- name: Rubocop
|
||||||
run: bundle exec rubocop .
|
run: bundle exec rubocop .
|
||||||
|
|
Laden …
In neuem Issue referenzieren