@cobe/tslint
v0.1.9
Published
## Installation
Downloads
18
Readme
COBE TSLint Rules
Installation
First, install the package:
$ npm install @cobe/tslint tslint --save-dev
Backend setup
Add extends
to your local tslint.json
file:
{
"extends": [
"@cobe/tslint/backend/tslint"
],
"rules": {
// Your other rules...
}
}
React setup
Install additional dependencies:
$ npm install tslint-import-group-ordering tslint-react --save-dev
Add extends
to your local tslint.json
file:
{
"extends": [
"@cobe/tslint/frontend/react/tslint"
],
"rules": {
// Your other rules...
}
}