1.0.0 • Published 8 years ago
@kunstmaan/tslint-config v1.0.0
Kunstmaan TSLint
Usage
npm install @kunstmaan/tslint-config --save-devUpdate your tslint.json file:
{
"extends": ["./node_modules/@kunstmaan/tslint-config/tslint.json"],
"rules": {
}
}You can add overrides inside the rules section.
TypeScript Rules
For TypeScript we extend the AirBnB styleguide with some exceptions.
Basically, we use the same ruleset as we do for JavaScript, Start off by reading the AirBnB styleguide, and our JavaScript rules. There are no specific gotcha's for TypeScript, for now...
React-specific Rules
For our React rules we also extend the Palantir's TSLint React Preset, and supplement this with exceptions and overwrites to get the same result as we do in our ESLint config.
1.0.0
8 years ago