@nrwl/angular:add-linting
Adds linting configuration to an Angular project.
Usage
nx generate add-linting ...By default, Nx will search for add-linting in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:add-linting ...Show what will be generated without writing to disk:
nx g add-linting ... --dry-runOptions
prefix
html-selectorThe prefix to apply to generated selectors.
projectName
The name of the project.
projectRoot
The path to the root of the selected project.
setParserOptionsProject
falseWhether or not to configure the ESLint parserOptions.project option. We do not do this by default for lint performance reasons.
skipFormat
falseSkip formatting files.
skipPackageJson
falseDo not add dependencies to package.json.