diff --git a/.github/check-js.sh b/.github/check-js.sh index 03d040d25e..2e66ec7c62 100755 --- a/.github/check-js.sh +++ b/.github/check-js.sh @@ -14,6 +14,6 @@ set +x sudo npm install -g > /dev/null npm ci > /dev/null set -x -node_modules/eslint/bin/eslint.js "phpBB/**/*.js" -node_modules/eslint/bin/eslint.js "phpBB/**/*.js.twig" +node_modules/eslint/bin/eslint.js "phpBB/**/*.js" --ignore-pattern "phpBB/ext/" +node_modules/eslint/bin/eslint.js "phpBB/**/*.js.twig" --ignore-pattern "phpBB/ext/" node_modules/eslint/bin/eslint.js "gulpfile.js" diff --git a/eslint.config.mjs b/eslint.config.mjs index ac636f1e14..bb634eccbe 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -5,7 +5,6 @@ const IGNORED_FILES = [ 'phpBB/assets/javascript/cropper.js', 'phpBB/assets/javascript/hermite.js', 'phpBB/assets/javascript/jquery-cropper.js', - 'phpBB/ext/**/*.js', 'phpBB/**/*.min.js', 'phpBB/vendor/**/*.js', 'phpBB/vendor-ext/**/*.js',