Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eslint still detect error on import 'calculator-test-utils' after configuration #45

Closed
riolly opened this issue May 31, 2021 · 0 comments

Comments

@riolly
Copy link

riolly commented May 31, 2021

After I configure the ESLint overrides like this

overrides: [
    {
      files: ['**/src/**'],
      settings: {'import/resolver': 'webpack'},
    },
    {
      files: ['**/__tests__/**'],
      settings: {
        'import/resolver': {
          jest: {
            jestConfigFile: path.join(__dirname, './test/js-common.js'),
          },
        },
      },
    },
  ],

It still fails to detect the 'calculator-test-utils' import as a module. Even if I go to the branch that you've already configured.
Here the example I go to the branch tjs/jest-17.

image

@riolly riolly closed this as completed May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant