jest-runner-eslint icon indicating copy to clipboard operation
jest-runner-eslint copied to clipboard

jest runner output different to running eslint directly

Open dogmatic69 opened this issue 1 month ago • 1 comments

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.


module.exports = {
  projects: [
    {
      runner: 'jest-runner-eslint',
      displayName: 'lint',
      testMatch: [
        '/app/src/*.js',
        '/app/src/**/*.js',
        '/app/tests/*.js',
        '/app/tests/**/*.js',
      ],
    },
...

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.

dogmatic69 avatar May 30 '24 10:05 dogmatic69