1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-03 11:02:43 +02:00

perf: Speed up pre-commit hooks

We no longer need to build the entire framework to lint it, so I've removed the build step from the
pre-commit hook and replaced it with just stylelint.
This commit is contained in:
Trezy
2018-12-18 13:09:06 -06:00
parent 218b3bf09c
commit bd7025f0ff

View File

@@ -95,12 +95,10 @@
}, },
"lint-staged": { "lint-staged": {
"scss/**/*.scss": [ "scss/**/*.scss": [
"npm run build", "npm run build:stylelint"
"git add"
], ],
"*.js": [ "*.js": [
"eslint '.storybook/**/*.js' 'docs/**/*.js'", "eslint '.storybook/**/*.js' 'docs/**/*.js'"
"git add"
] ]
}, },
"prettier": { "prettier": {