Make stylelint report unncessary disables
From the man: ``` --report-needless-disables, --rd Report stylelint-disable comments that are not blocking a lint warning. If you provide the argument "error", the process will exit with code 2 if needless disables are found. ```
This commit is contained in:
parent
2a8feaa454
commit
b25884c5bd
@ -21,7 +21,7 @@
|
||||
"test": "npm-run-all --aggregate-output --parallel --continue-on-error test:* lint:*",
|
||||
"test:mocha": "mocha --colors",
|
||||
"lint:js": "eslint . --report-unused-disable-directives --color",
|
||||
"lint:css": "stylelint --color \"client/**/*.css\""
|
||||
"lint:css": "stylelint --color --report-needless-disables=error \"client/**/*.css\""
|
||||
},
|
||||
"keywords": [
|
||||
"lounge",
|
||||
|
Loading…
Reference in New Issue
Block a user