Set of sharable tslint configs.
yarn add --dev @friends-of-js/tslint-configs
# or
npm install --save-dev @friends-of-js/tslint-configs
There are 4 types of configs:
- strict-latest
- strict
- standard-latest
- standard
Strict-latest and standard-latest configs are constantly updated, including minor and patch releases. Strict and standard configs updated only on major release.
Strict configs include all typescript checks, in contrast to the standards configs, which almost does not include any checks.
Select the appropriate configuration type:
// strict-latest
// tslint.json
{
"extends": "@friends-of-js/tslint-configs//strict-latest"
}
// strict
// tslint.json
{
"extends": "@friends-of-js/tslint-configs/strict"
}
// standard-latest
// tslint.json
{
"extends": "@friends-of-js/tslint-configs/standard-latest"
}
// standard
// tslint.json
{
"extends": "@friends-of-js/tslint-configs/standard"
}
@friends-of-js/tslint-configs © Dmitriy Romanov, released under the MIT License.