We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After migrating to eslint flat config, eslint rules are not applied.
After migrating to flat config, eslint rules are applied as before.
https://github.com/philipjfulcher/eslint-flat-config-repro
npx nx lint eslint-repro
apps/eslint-repro/src/app/app.component.ts
flat-config
flat-config-working
eslint.config.js
NX Report complete - copy this into the issue template Node : 20.11.1 OS : darwin-arm64 npm : 10.2.4 nx : 18.2.4 @nx/js : 18.2.4 @nx/jest : 18.2.4 @nx/linter : 18.2.4 @nx/eslint : 18.2.4 @nx/workspace : 18.2.4 @nx/angular : 18.2.4 @nx/devkit : 18.2.4 @nx/eslint-plugin : 18.2.4 @nx/plugin : 18.2.4 @nrwl/tao : 18.2.4 @nx/web : 18.2.4 @nx/webpack : 18.2.4 typescript : 5.4.5
No response
Using rules: {} seems to remove all of the rules from the extended config.
rules: {}
The text was updated successfully, but these errors were encountered:
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Sorry, something went wrong.
JamesHenry
Successfully merging a pull request may close this issue.
Current Behavior
After migrating to eslint flat config, eslint rules are not applied.
Expected Behavior
After migrating to flat config, eslint rules are applied as before.
GitHub Repo
https://github.com/philipjfulcher/eslint-flat-config-repro
Steps to Reproduce
npx nx lint eslint-repro
and note that there is an error and warning inapps/eslint-repro/src/app/app.component.ts
flat-config
where flat config migration generator has been runnpx nx lint eslint-repro
and note that it passes with no errors or warnings.flat-config-working
where empty rulesets have been removed fromeslint.config.js
npx nx lint eslint-repro
and note that there is an error and warning inapps/eslint-repro/src/app/app.component.ts
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
Using
rules: {}
seems to remove all of the rules from the extended config.The text was updated successfully, but these errors were encountered: