Answer the question
In order to leave comments, you need to log in
lint-staged not working?
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.scss": [
"stylelint --fix",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
}
Answer the question
In order to leave comments, you need to log in
Everything works if you roll back from the latest version of husky (currently version 7.0.2) to version 4.3.8
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question