"Fossies" - the Fresh Open Source Software Archive

Member "angular-cli-8.3.23/docs/documentation/lint.md" (15 Jan 2020, 1489 Bytes) of package /linux/www/angular-cli-8.3.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see here.

ng lint

Overview

ng lint will lint you app code using tslint.

ng lint [project]

Options

configuration

–configuration (alias: -c)

Specify the configuration to use.

tslint-config

–tslint-config

The name of the TSLint configuration file.

fix

–fix

Fixes linting errors (may overwrite linted files).

type-check

–type-check

Controls the type check for linting.

force

–force

Succeeds even if there was linting errors.

silent

–silent

Show output text.

format

–format

Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist, codeFrame).