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
After initialising a new nx nextjs workspace and migrating to eslint flat config i get the following error after setting the eslintConfig prop in the lint section of project.json.
TypeError: Key "rules": Key "@typescript-eslint/no-array-constructor": Could not find plugin "@typescript-eslint".
This only happens when i explicitly link a eslint.config.js file via eslintConfig and don't use the root eslint configuration.
Expected Behavior
Its possible to run the lint task after upgrading to flat config
Current Behavior
After initialising a new nx nextjs workspace and migrating to eslint flat config i get the following error after setting the
eslintConfig
prop in the lint section of project.json.This only happens when i explicitly link a eslint.config.js file via
eslintConfig
and don't use the root eslint configuration.Expected Behavior
Its possible to run the lint task after upgrading to flat config
GitHub Repo
https://github.com/knoefel/nx-eslint-flat-config
Steps to Reproduce
nx generate @nx/eslint:convert-to-flat-config
esLintConfig
property:nx lint lint
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: