@nx/linter:convert-to-flat-config

Convert an Nx workspace to a Flat ESLint config.

Usage

nx generate convert-to-flat-config ...

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:

nx g @nx/linter:convert-to-flat-config ...
Nx 15 and lower use @nrwl/ instead of @nx/

Show what will be generated without writing to disk:

nx g convert-to-flat-config ... --dry-run

Options

skipFormat

boolean
Default: false

Skip formatting files.