1.1.4 • Published 6 years ago
tslint-config-craftworks v1.1.4
TSLint Config Craftworks
A TSLint config used at craftworks optimized for Angular
Contains the ruleset of tslint:recommended, tslint-angular and tslint-config-prettier (in that order) and applies some custom rules.
Installation
npm install tslint-config-craftworks --save-devUsage
In tslint.json:
{
"extends": "tslint-config-craftworks",
"rules": {
"directive-selector": [true, "attribute", "your-angular-prefix", "camelCase"],
"component-selector": [true, "element", "your-angular-prefix", "kebab-case"],
}
}Peer Dependencies
@angular/compiler@angular/corecodelyzertypescripttslintrxjs
See package.json for more details