Leosvel Pérez Espinosa 678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00

1.3 KiB

lint

[DEPRECATED]: Please use the eslint builder instead, an automated migration was provided in v10.3.0

Properties can be configured in angular.json when defining the executor, or when invoking it.

Properties

cache

Default: false

Type: boolean

Only check changed files.

cacheLocation

Type: string

Path to the cache file or directory.

config

Type: string

The name of the configuration file.

exclude

Type: array

Files to exclude from linting.

files

Type: array

Files to include in linting.

fix

Default: false

Type: boolean

Fixes linting errors (may overwrite linted files).

force

Default: false

Type: boolean

Succeeds even if there was linting errors.

format

Default: stylish

Type: string

ESLint Output formatter (https://eslint.org/docs/user-guide/formatters).

linter

Default: eslint

Type: string

Possible values: eslint, tslint

The tool to use for running lint checks.

maxWarnings

Default: -1

Type: number

Number of warnings to trigger nonzero exit code - default: -1

outputFile

Type: string

File to write report to.

quiet

Default: false

Type: boolean

Report errors only - default: false

silent

Default: false

Type: boolean

Hide output text.

tsConfig

Type: string

The name of the TypeScript configuration file.