Skip to content

Conversation

ricardogobbosouza
Copy link
Collaborator

@ricardogobbosouza ricardogobbosouza commented Feb 5, 2025

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

The eslint 9 uses the flat configuration type by default.
In v5 the flat configuration type will be the default

Breaking Changes

  • Use flat config by default
  • Minimum supported Node.js version is 18.12.0

Additional Info

new ESLintPlugin({
  overrideConfigFile: path.resolve(__dirname, "eslint.config.mjs"),
  // configType: "flat", // It is not necessary
});

@ricardogobbosouza
Copy link
Collaborator Author

@alexander-akait The tests are still using eslint 8, we need to update this pr webpack/eslint-config-webpack#29 to switch to eslint 9

@ricardogobbosouza
Copy link
Collaborator Author

We can release and update the tests later.

@alexander-akait
Copy link
Member

@ricardogobbosouza

The tests are still using eslint 8

Hm, I see https://github.com/webpack-contrib/eslint-webpack-plugin/blob/master/.github/workflows/nodejs.yml#L64, am I wrong here, I am thinking we test our plugin with 8 and 9 version

we need to update this pr webpack/eslint-config-webpack#29 to switch to eslint 9

Yeah it is on my radar

@alexander-akait
Copy link
Member

@ricardogobbosouza Feel free to make release, thank you

@ricardogobbosouza ricardogobbosouza merged commit ff9e9e6 into master Feb 26, 2025
27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants