Open dogmatic69 opened 5 months ago
What happens with flat config and eslint v8?
We're having the same issue, and we were previously on v8 + flat config
Okay so I think I figured this out. In v9 reportUnusedDisableDirectives has a new default, which is not false (maybe it's warn or something, but it emits messages). However, jest-runner-eslint (without additional configuration) resolves the reportUnusedDisableDirectives to false, which ends up suppressing those messages.
That indeed sounds like we need to default that to a different value in eslint 9.
I've updated to v9 and using
eslint.config.js
. When running jest-runner through jest with watch the linting passes.If I run eslint directly, some things fail.
I've not made any changes to the
jest.config.js
file since upgrading.I would expect the results to be identical (it was before v9). Was not clear from the recent PR if something needs changing in the config.