tslint-config-fishbrain
v4.1.0
Published
TSLint config for Fishbrain TypeScript projects
Downloads
31
Keywords
Readme
TSLint config for Fishbrain TypeScript projects
Rule set based on Airbnb JavaScript style guide with some extra immutability rules from tslint-immutable.
Usage
$ npm install -D tslint-config-fishbraintslint.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
}
}