1.0.7 • Published 5 years ago

practical-tslint-react-config v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

A TSLint ruleset based on the Airbnb JavaScript style guide, Prettier, and TypeScript best practices.

Goal

To build a ruleset that promotes consistency, efficiency, optimized code, and most of all to not get in the developer's way.

Installation

npm install practical-tslint-react-config --save-dev

Usage

The only thing that your tslint.json should consist of:

{
  "extends": "practical-tslint-react-config"
}

Some of the rules in the set require type info. Therefore when you run the linter via CLI, specifying the --project flag is recommended.

tslint --project tsconfig.json --config tslint.json