Hans Larsen edited this page Aug 2, 2018 · 7 revisions

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).

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.