Open samselikoff opened 5 years ago
Could you put together a reproduction we could pull down and see the error? We just use eslint
's programmatic api, so different results sounds weird
@samselikoff did you manage to solve this? Got the same issue here
@luizcieslak haven't come back to it again so I don't think so.
I'm trying to get
jest-runner-eslint
setup but its results are disagreeing with the results from runningeslint
from the command line (as well as my editor).It does seem like both jest and
eslint
(and editor) are using.eslintrc.js
, because if I change them both runners are affected. But I can't get the two to agree on certain files.For example I have a file
response.js
, and my editor shows these errors:When I run
eslint lib/response.js
I getBut when I run jest, I get
Here's my configs: