54 lines
618 B
Markdown
54 lines
618 B
Markdown
# lint
|
|
|
|
Lint a project
|
|
|
|
## Properties
|
|
|
|
### 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).
|
|
|
|
### format
|
|
|
|
Default: `prose`
|
|
|
|
Type: `string`
|
|
|
|
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).
|
|
|
|
### linter
|
|
|
|
Default: `tslint`
|
|
|
|
Type: `string`
|
|
|
|
The tool to use for running lint checks.
|
|
|
|
### tsConfig
|
|
|
|
Type: `string`
|
|
|
|
The name of the TypeScript configuration file.
|