Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uplint
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).
Press h to open a hovercard with more details.