1.2.1 • Published 6 years ago
@friends-of-js/tslint-configs v1.2.1
@friends-of-js/tslint-configs
Set of sharable tslint configs.
Install
yarn add --dev @friends-of-js/tslint-configs
# or
npm install --save-dev @friends-of-js/tslint-configs
Table of Contents
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.
Usage
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"
}
License
@friends-of-js/tslint-configs © Dmitriy Romanov, released under the MIT License.