DEV: specific ext and remove I18n global

DEV: specific ext and remove I18n global

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b4a15c0..8b1dc07 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -146,19 +146,19 @@ jobs:
 
       - name: ESLint (core)
         if: env.BUILD_TYPE == 'LINT' && env.TARGET == 'CORE'
-        run: yarn eslint app/assets/javascripts test/javascripts
+        run: yarn eslint --ext .js app/assets/javascripts test/javascripts
 
       - name: ESLint (core plugins)
         if: env.BUILD_TYPE == 'LINT' && env.TARGET == 'CORE'
         run: |
-          yarn eslint plugins/**/assets/javascripts plugins/**/test/javascripts
-          yarn eslint --global I18n --ext .es6 plugins/**/assets/javascripts plugins/**/test/javascripts
+          yarn eslint --ext .js plugins/**/assets/javascripts plugins/**/test/javascripts
+          yarn eslint --ext .es6 plugins/**/assets/javascripts plugins/**/test/javascripts
 
       - name: ESLint (all plugins)
         if: env.BUILD_TYPE == 'LINT' && env.TARGET == 'PLUGINS'
         run: |
-          yarn eslint plugins/**/assets/javascripts plugins/**/test/javascripts
-          yarn eslint --global I18n --ext .es6 plugins/**/assets/javascripts plugins/**/test/javascripts
+          yarn eslint --ext .js plugins/**/assets/javascripts plugins/**/test/javascripts
+          yarn eslint --ext .es6 plugins/**/assets/javascripts plugins/**/test/javascripts
 
       - name: Prettier (core and core plugins)
         if: env.BUILD_TYPE == 'LINT' && env.TARGET == 'CORE'

GitHub sha: 34c2dfcc

1 Like