diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-04-09 08:21:42 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-04-09 08:21:42 +0000 |
commit | 03d173588999aeac2a77cfaef6a9a47353454e8a (patch) | |
tree | afba0155bbbe8d7d010ef31a54aaa4be7b9ede87 /package.json | |
parent | 0bda6cc146eb59f3d554db8dea84477e99f95fe8 (diff) | |
download | gitlab-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.json | 2 |
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", |