DEV: Remove .es6 extensions from core (#14912)

Still supported in plugins though.
This commit is contained in:
Jarek Radosz
2021-11-13 12:51:53 +01:00
committed by GitHub
parent cb3cb96149
commit 4ad77f3382
63 changed files with 16 additions and 20 deletions
+4 -4
View File
@@ -61,11 +61,11 @@ jobs:
- name: ESLint (core)
if: ${{ always() }}
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern app/assets/javascripts
run: yarn eslint app/assets/javascripts
- name: ESLint (core plugins)
if: ${{ always() }}
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern plugins/**/{test,assets}/javascripts
run: yarn eslint plugins
- name: Prettier
if: ${{ always() }}
@@ -73,9 +73,9 @@ jobs:
yarn prettier -v
yarn prettier --list-different \
"app/assets/stylesheets/**/*.scss" \
"app/assets/javascripts/**/*.{js,es6}" \
"app/assets/javascripts/**/*.js" \
"plugins/**/assets/stylesheets/**/*.scss" \
"plugins/**/assets/javascripts/**/*.{js,es6}"
"plugins/**/assets/javascripts/**/*.js"
- name: Ember template lint
if: ${{ always() }}