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.
Showing
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
"prettier-staged-save": "node ./scripts/frontend/prettier.js save", | "prettier-staged-save": "node ./scripts/frontend/prettier.js save", | ||
"prettier-all": "node ./scripts/frontend/prettier.js check-all", | "prettier-all": "node ./scripts/frontend/prettier.js check-all", | ||
"prettier-all-save": "node ./scripts/frontend/prettier.js save-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": "webpack --config config/webpack.config.js", | ||
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js" | "webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js" | ||
}, | }, | ||
... | @@ -101,6 +101,7 @@ | ... | @@ -101,6 +101,7 @@ |
"sql.js": "^0.4.0", | "sql.js": "^0.4.0", | ||
"stickyfilljs": "^2.0.5", | "stickyfilljs": "^2.0.5", | ||
"style-loader": "^0.23.1", | "style-loader": "^0.23.1", | ||
"stylelint-error-string-formatter": "^1.0.1", | |||
"svg4everybody": "2.1.9", | "svg4everybody": "2.1.9", | ||
"three": "^0.84.0", | "three": "^0.84.0", | ||
"three-orbit-controls": "^82.1.0", | "three-orbit-controls": "^82.1.0", | ||
... | ... |
Please register or sign in to comment