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

Allow multiple instances with different #90

Closed
thomaschaaf opened this issue Mar 8, 2021 · 3 comments · Fixed by #92
Closed

Allow multiple instances with different #90

thomaschaaf opened this issue Mar 8, 2021 · 3 comments · Fixed by #92
Assignees
Labels
bug Something isn't working

Comments

@thomaschaaf
Copy link

  • Operating System: Mac OS X
  • Node Version: v14.15.5
  • NPM Version: 6.14.11
  • webpack Version: 4.44.2
  • eslint-webpack-plugin Version: 2.5.2

Expected Behavior / Situation

Initializing the plugin twice with js and ts extensions should result in both file types to be linted.

Actual Behavior / Situation

With the following plugins only js files are linted and ts files are ignored.

  plugins: [
    new ESLintPlugin({
      context: servicePath,
      baseConfig: jsEslintConfig,
      extensions: "js"
    }),
    new ESLintPlugin({
      context: servicePath,
      baseConfig: tsEslintConfig,
      extensions: "ts"
    })
  ]

Modification Proposal

@alexander-akait
Copy link
Member

/cc @ricardogobbosouza I think make sense, why we do not support it?

@ricardogobbosouza
Copy link
Collaborator

It should work, I will analyze

@ricardogobbosouza
Copy link
Collaborator

Hi @thomaschaaf
It doesn't really work ... I'm fixing now
Thanks for reporting

@ricardogobbosouza ricardogobbosouza added the bug Something isn't working label Mar 22, 2021
@ricardogobbosouza ricardogobbosouza self-assigned this Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants