1.0.7 • Published 6 years ago
practical-tslint-react-config v1.0.7
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