2 1 x lint
Hans Larsen edited this page 2018-08-02 16:49:22 -04:00

ng lint

Overview

ng lint will lint you app code using tslint.

Options

fix

--fix default value: false

Fixes linting errors (may overwrite linted files).

force

--force default value: false

Succeeds even if there was linting errors.

type-check

--type-check default value: false

Controls the type check for linting.

format

--format (aliases: -t) default value: prose

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