Skip to content
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

nx g @nx/eslint:convert-to-flat-config only converts root .eslintrc.json #29458

Open
1 of 4 tasks
KeithGillette opened this issue Dec 22, 2024 · 0 comments
Open
1 of 4 tasks

Comments

@KeithGillette
Copy link

KeithGillette commented Dec 22, 2024

Current Behavior

Nx documentation states that nx g @nx/eslint:convert-to-flat-config "will go through all the projects and convert their configurations to the new format". However, in running on our Nx 20.3.0 workspace, it only converts the root .eslintrc.json (and the new configuration fails with Note: detected a parser other than @typescript-eslint/parser.).

Expected Behavior

nx g @nx/eslint:convert-to-flat-config would convert all workspace .eslintrc.json per the documentation (and the resulting flat configurations would work).

GitHub Repo

No response

Steps to Reproduce

  1. nx g @nx/eslint:convert-to-flat-config
  2. nx lint

Nx Report

Node           : 20.17.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.8.2

nx                     : 20.3.0
@nx/js                 : 20.3.0
@nx/jest               : 20.3.0
@nx/eslint             : 20.3.0
@nx/workspace          : 20.3.0
@nx/angular            : 20.3.0
@nx/devkit             : 20.3.0
@nx/module-federation  : 20.3.0
@nx/node               : 20.3.0
@nx/web                : 20.3.0
@nx/webpack            : 20.3.0
typescript             : 5.6.3
---------------------------------------
Community plugins:
apollo-angular : 8.0.0

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant