4.1.0 • Published 5 years ago

tslint-config-fishbrain v4.1.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

TSLint config for Fishbrain TypeScript projects

npm version Build Status

Rule set based on Airbnb JavaScript style guide with some extra immutability rules from tslint-immutable.

Usage

$ npm install -D tslint-config-fishbrain

tslint.json

{
  "extends": ["tslint-config-fishbrain"]
}

Recommended tsconfig.json settings

In addition to setting target, module, moduleResolution etc, these strictness settings are recommended.

{
  "compilerOptions": {
    "strict": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true
  }
}