diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-02-28 22:58:04 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-03-01 19:07:00 +0000 |
commit | c9b64954cd668b9f4ceb90b5e14b6157a005228a (patch) | |
tree | 6b7808c0f093b93c4c5bcca59e8f884e589dca8f /package.json | |
parent | adf71cfa75fb07c54cb2f55126d1f8596e3ab5c3 (diff) | |
download | gitlab-ce-c9b64954cd668b9f4ceb90b5e14b6157a005228a.tar.gz |
Add error string formatter for stylelint
Improves stylelint output by re-printing
failures after all warnings. This makes
it a lot easier to find failures.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index d846d214417..86ee0de475e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "prettier-staged-save": "node ./scripts/frontend/prettier.js save", "prettier-all": "node ./scripts/frontend/prettier.js check-all", "prettier-all-save": "node ./scripts/frontend/prettier.js save-all", - "stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.*", + "stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.* --custom-formatter node_modules/stylelint-error-string-formatter", "webpack": "webpack --config config/webpack.config.js", "webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js" }, @@ -101,6 +101,7 @@ "sql.js": "^0.4.0", "stickyfilljs": "^2.0.5", "style-loader": "^0.23.1", + "stylelint-error-string-formatter": "^1.0.1", "svg4everybody": "2.1.9", "three": "^0.84.0", "three-orbit-controls": "^82.1.0", |