Move unused directive check from CLI to config

This commit is contained in:
Marco Hutter 2025-10-21 20:20:10 +02:00
parent b096d177e5
commit 572b34fac5
2 changed files with 4 additions and 1 deletions

View File

@ -31,6 +31,9 @@ export default [
},
{
...configCesium.configs.recommended,
linterOptions: {
reportUnusedDisableDirectives: "error",
},
languageOptions: {
sourceType: "module",
},

View File

@ -121,7 +121,7 @@
"coverage": "gulp coverage",
"build-docs": "gulp buildDocs",
"build-docs-watch": "gulp buildDocsWatch",
"eslint": "eslint \"./**/*.*js\" \"./**/*.*ts*\" \"./**/*.html\" --cache --quiet --report-unused-disable-directives",
"eslint": "eslint \"./**/*.*js\" \"./**/*.*ts*\" \"./**/*.html\" --cache --quiet",
"make-zip": "gulp makeZip",
"markdownlint": "markdownlint \"**/*.md\"",
"release": "gulp release",