Skip to content

friends-of-js/tslint-configs

Repository files navigation

@friends-of-js/tslint-configs

Build Status Test Coverage Maintainability license

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:

  1. strict-latest
  2. strict
  3. standard-latest
  4. 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.