tslint-checker

Module to have customised and common tslint rules across development teams


Keywords
tslint, tslint-react, react-tslint, linting rules, tsx, react, angular, angular linting rules, linting-rules, typescript
License
MIT
Install
npm install tslint-checker@5.2.0

Documentation

NPM version Downloads

tslint-checker

tslint-checker is the module to synchronise linting rules in the distributed development environment.

  • Works on the latest tslint rules
  • Serves linting rules for Typescript, React (tsx support) and Angular projects
  • Easily extensible
  • Easy incorporation

Usage

The package can be integrated very easily in any project.

 - npm install tslint-checker --save

Create a tslint.json file in the root folder of your project and add the following:

{
  "extends": "tslint-checker/tslint"
}

Incorporation for React projects (.tsx files)

{
  "extends": "tslint-checker/tslint-react"
}

Incorporation for Angular projects

{
  "extends": "tslint-checker/tslint-ng2"
}

Reference TS Lint Rules:

TSLint Rules

License

MIT