From 7d50f40dde9c577a037b489d197d4dbffc7663c0 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sun, 1 Jun 2025 07:12:57 -0700 Subject: [PATCH] =?UTF-8?q?[ticket/17517]=20Remove=20global=20ignore=20of?= =?UTF-8?q?=20extension=E2=80=99s=20JS=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PHPBB-17517 --- .github/check-js.sh | 4 ++-- eslint.config.mjs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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',