First iteration of GitLab own Stylelints
DRYed the code Changed new rules to warnings Manual prettified and added stylelint rules
Showing
... | ... | @@ -17,6 +17,8 @@ |
"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/**/*.* --custom-formatter node_modules/stylelint-error-string-formatter", | ||
"stylelint-file": "node node_modules/stylelint/bin/stylelint.js", | ||
"stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js", | ||
"test": "yarn jest && yarn karma", | ||
"webpack": "webpack --config config/webpack.config.js", | ||
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js" | ||
... | ... | @@ -169,13 +171,15 @@ |
"karma-mocha-reporter": "^2.2.5", | ||
"karma-sourcemap-loader": "^0.3.7", | ||
"karma-webpack": "^4.0.0-beta.0", | ||
"md5": "^2.2.1", | ||
"node-sass": "^4.11.0", | ||
"nodemon": "^1.18.9", | ||
"pixelmatch": "^4.0.2", | ||
"postcss": "^7.0.14", | ||
"prettier": "1.16.4", | ||
"stylelint": "^9.10.1", | ||
"stylelint-config-recommended": "^2.1.0", | ||
"stylelint-scss": "^3.5.3", | ||
"stylelint-scss": "^3.5.4", | ||
"vue-jest": "^4.0.0-beta.2", | ||
"webpack-dev-server": "^3.1.14", | ||
"yarn-deduplicate": "^1.1.1" | ||
... | ... |
Please register or sign in to comment