1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-02 18:42:47 +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": {
"scss/**/*.scss": [
"npm run build",
"git add"
"npm run build:stylelint"
],
"*.js": [
"eslint '.storybook/**/*.js' 'docs/**/*.js'",
"git add"
"eslint '.storybook/**/*.js' 'docs/**/*.js'"
]
},
"prettier": {