@nrwl/nest:convert-tslint-to-eslint
Convert a NestJS project from TSLint to ESLint.
NOTE: Does not work in --dry-run mode.
Usage
nx generate convert-tslint-to-eslint ...By default, Nx will search for convert-tslint-to-eslint in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/nest:convert-tslint-to-eslint ...Show what will be generated without writing to disk:
nx g convert-tslint-to-eslint ... --dry-runExamples
Convert the NestJS project myapp from TSLint to ESLint:
nx g convert-tslint-to-eslint myappOptions
ignoreExistingTslintConfig
falseIf true we will not use existing TSLint config as a reference, we will just reset the project with the latest recommended ESLint config.
project
The name of the NestJS project to convert.
removeTSLintIfNoMoreTSLintTargets
trueIf this conversion leaves no more TSLint usage in the workspace, it will remove TSLint and related dependencies and configuration.
skipFormat
falseSkip formatting files.