You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using eslint-webpack-plugin 4.1.0 with webpack 5.52.1, I pass an instance of the plugin object to webpack via the plugins array with the extensions option as follows:
[INFO] ERROR in [eslint] Invalid Options:
[INFO] - Unknown options: extensions
[INFO] - 'extensions' has been removed.
My project is using eslint 9.1.1. According to the documentation, it looks like the extensions field is no longer used, which I suspect is the cause of this error.
The most recent version with the extensions field is eslint 8.x.
You also need to install eslint >= 8 from npm, if you haven't already.
Expected Behavior
When using eslint-webpack-plugin 4.1.0 with webpack 5.52.1, I expect to be able to pass an instance of the plugin object to webpack via the plugins array with the extensions option set to lint the correct files.
How Do We Reproduce?
Install eslint-webpack-plugin 4.1.0, webpack 5.52.1, and eslint 9.1.1.
Pass an instance of ESLintPlugin (even if the extensions field is not set, you should still see the error. I assume this is because extensions is still passed to the ESLint object).
Please paste the results of npx webpack-cli info here, and mention other relevant information
Bug report
Actual Behavior
When using
eslint-webpack-plugin 4.1.0
withwebpack 5.52.1
, I pass an instance of the plugin object to webpack via the plugins array with theextensions
option as follows:However, I receive the error:
My project is using
eslint 9.1.1
. According to the documentation, it looks like theextensions
field is no longer used, which I suspect is the cause of this error.The most recent version with the extensions field is eslint 8.x.
According to the plugin's documentation on NPM:
Expected Behavior
When using
eslint-webpack-plugin 4.1.0
withwebpack 5.52.1
, I expect to be able to pass an instance of the plugin object to webpack via the plugins array with theextensions
option set to lint the correct files.How Do We Reproduce?
eslint-webpack-plugin 4.1.0
,webpack 5.52.1
, andeslint 9.1.1
.ESLintPlugin
(even if theextensions
field is not set, you should still see the error. I assume this is becauseextensions
is still passed to theESLint
object).Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: