diff options
Diffstat (limited to 'dev/lint')
-rw-r--r-- | dev/lint/global-declarations.js | 2 | ||||
-rw-r--r-- | dev/lint/html-scripts.js | 2 |
2 files changed, 2 insertions, 2 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)) { diff --git a/dev/lint/html-scripts.js b/dev/lint/html-scripts.js index 04d5cc84..dec8a3dd 100644 --- a/dev/lint/html-scripts.js +++ b/dev/lint/html-scripts.js @@ -63,7 +63,7 @@ function main() { try { const extDir = path.resolve(__dirname, '..', '..', 'ext'); const pattern = /\.html$/; - const ignorePattern = /[\\/]ext[\\/]mixed[\\/]lib[\\/]/; + const ignorePattern = /[\\/]ext[\\/]lib[\\/]/; const fileNames = getAllFiles(extDir, null, (f) => pattern.test(f) && !ignorePattern.test(f)); for (const fileName of fileNames) { validateHtmlScripts(fileName, extDir); |