@nx/eslint:convert-to-flat-config
Convert an Nx workspace's ESLint configs to use Flat Config.
Webinar: Making the Argument for MonoreposWebinar: Making the Argument for MonoreposRegister now!
Convert an Nx workspace's ESLint configs to use Flat Config.
1nx generate convert-to-flat-config ...
2
By default, Nx will search for convert-to-flat-config
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/eslint:convert-to-flat-config ...
2
Show what will be generated without writing to disk:
1nx g convert-to-flat-config ... --dry-run
2
false
Skip formatting files.