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
Add support to the new eslint.config.js format #190
Labels
enhancement
New feature or request
Comments
similarly, updated
-->
|
PR welcome |
Good day! Can you tell me when to expect the release of this feature? |
Good day! I thought this feature should be released ASAP. Current version ( |
Oh, let's do release 😄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Proposal
Recently, Eslint received a new configuration file format Eslint flat config. It would be nice if the Eslint plugin recognized it as a valid configuration file.
I tried to use this, however, after setup everything up, I was able to use the rules on the format, but the webpack was not recognizing it as a valid file.
The following message was showing up:
ERROR in [eslint] No ESLint configuration found in...
Since I don't receive this error while using a .json file and all the rules are running okay, I'd say that the plugin don't support this type of file.
Feature Use Case
This feature will be very useful since the Eslint flat config seems to be promising and easier to maintain.
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationSystem:
OS: Windows 10 10.0.19043
CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Memory: 5.32 GB / 15.78 GB
Binaries:
Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.52)
Internet Explorer: 11.0.19041.1566
Packages:
copy-webpack-plugin: ^11.0.0 => 11.0.0
esbuild-loader: ^2.20.0 => 2.20.0
eslint-webpack-plugin: ^3.2.0 => 3.2.0
file-loader: ^6.2.0 => 6.2.0
html-loader: ^4.2.0 => 4.2.0
html-loader-jest: ^0.2.1 => 0.2.1
html-webpack-plugin: ^5.5.0 => 5.5.0
raw-loader: ^4.0.2 => 4.0.2
webpack: ^5.74.0 => 5.74.0
webpack-cli: ^4.10.0 => 4.10.0
webpack-ext-reloader: ^1.1.9 => 1.1.9
webpackbar: ^5.0.2 => 5.0.2
zip-webpack-plugin: ^4.0.1 => 4.0.1
The text was updated successfully, but these errors were encountered: