Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tslint-config-fishbrain

fishbrain1Apache-2.04.1.0

TSLint config for Fishbrain TypeScript projects

readme

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"]
}

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

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