summaryrefslogtreecommitdiff
path: root/dev/lint/global-declarations.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-14 11:24:43 -0500
committerGitHub <noreply@github.com>2021-02-14 11:24:43 -0500
commit0117df6bd8b1603fec0eb5b8d840e777372f47c8 (patch)
treeaf4ca3c9fd329c180c280e41a4de9294c281e3d9 /dev/lint/global-declarations.js
parente419a418f6f03ef0a24330b67e7b76c5e3a7c22d (diff)
Update lint and tests (#1388)
* Update paths to no longer use bg/, fg/, or mixed/ * Only allow modal-jquery.js to use jQuery
Diffstat (limited to 'dev/lint/global-declarations.js')
-rw-r--r--dev/lint/global-declarations.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/lint/global-declarations.js b/dev/lint/global-declarations.js
index 03cf74f4..61739c42 100644
--- a/dev/lint/global-declarations.js
+++ b/dev/lint/global-declarations.js
@@ -117,7 +117,7 @@ function main() {
const fix = (process.argv.length >= 2 && process.argv[2] === '--fix');
const directory = path.resolve(__dirname, '..', '..', 'ext');
const pattern = /\.js$/;
- const ignorePattern = /[\\/]ext[\\/]mixed[\\/]lib[\\/]/;
+ const ignorePattern = /[\\/]ext[\\/]lib[\\/]/;
const fileNames = getAllFiles(directory, null, (f) => pattern.test(f) && !ignorePattern.test(f));
for (const fileName of fileNames) {
if (!validateGlobals(fileName, fix)) {