summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-04-09 08:21:42 +0000
committerPhil Hughes <me@iamphill.com>2019-04-09 08:21:42 +0000
commit03d173588999aeac2a77cfaef6a9a47353454e8a (patch)
treeafba0155bbbe8d7d010ef31a54aaa4be7b9ede87 /package.json
parent0bda6cc146eb59f3d554db8dea84477e99f95fe8 (diff)
downloadgitlab-ce-03d173588999aeac2a77cfaef6a9a47353454e8a.tar.gz
Adds a vendors folder for third party CSS
Does not run stylelint for the vendors folder
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 0b729caa78a..115f6fd1e8d 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,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/**/*.* ee/app/assets/stylesheets/**/*.* --custom-formatter node_modules/stylelint-error-string-formatter",
+ "stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.* ee/app/assets/stylesheets/**/*.* !**/vendors/** --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",