Closed slorber closed 7 years ago
Not sure if it should be the recommended way but I added eslint to my lint-staged and it seems to do what I want now.
"lint-staged": {
"gitDir": "./../..",
"linters": {
"**/*.js": [
"prettier-standard",
"eslint",
"git add"
]
}
},
This is probably dup of #17
Hi,
I'm using this setting
What I think is unexpected is that when running link I get ESLint errors (valid/expected errors), and the prettier-standard works fine to fix most of the code, but it does not throw any error. I'd like it to throw errors, how can I do that?
I'd like yarn format to fail, because there are eslint errors