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:
Jérémie Astori 2017-11-26 17:57:14 -05:00
parent 2a8feaa454
commit b25884c5bd
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -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",