mirror of https://github.com/CesiumGS/cesium.git
Move unused directive check from CLI to config
This commit is contained in:
parent
b096d177e5
commit
572b34fac5
|
|
@ -31,6 +31,9 @@ export default [
|
|||
},
|
||||
{
|
||||
...configCesium.configs.recommended,
|
||||
linterOptions: {
|
||||
reportUnusedDisableDirectives: "error",
|
||||
},
|
||||
languageOptions: {
|
||||
sourceType: "module",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue