summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2019-02-14 14:40:42 +0100
committerTim Zallmann <tzallmann@gitlab.com>2019-02-14 14:40:50 +0100
commit0b53566111daa07e56fc5b519acc14c9a02f6209 (patch)
treef7a2c0f234b64650d5870846cbd67beeb67eecb8 /package.json
parented7144ad58c32936c902d93da23eeb2159ee0158 (diff)
downloadgitlab-ce-0b53566111daa07e56fc5b519acc14c9a02f6209.tar.gz
Added Stylelint Setup
Added stylelint to static-analysis Updated yarn dependencies CSS Fixes and rule adoptions of stylelint Added stylelint-scss Deduplicated yarn.lock to clear dependencies
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/package.json b/package.json
index 3cd023c0b0c..21edd0dcf41 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +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/**/*.*",
"webpack": "webpack --config config/webpack.config.js",
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
},
@@ -168,7 +169,11 @@
"karma-webpack": "^4.0.0-beta.0",
"nodemon": "^1.18.9",
"pixelmatch": "^4.0.2",
+ "postcss": "^7.0.14",
"prettier": "1.16.1",
+ "stylelint": "^9.10.1",
+ "stylelint-config-recommended": "^2.1.0",
+ "stylelint-scss": "^3.5.3",
"vue-jest": "^3.0.2",
"webpack-dev-server": "^3.1.14",
"yarn-deduplicate": "^1.1.0"