practical-tslint-react-config

1.0.7 • Public • Published

practical-tslint-react-config

focus

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

Package Sidebar

Install

npm i practical-tslint-react-config

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

2.77 kB

Total Files

3

Last publish

Collaborators

  • parkerledoux