README
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-dev
Usage
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/core
codelyzer
typescript
tslint
rxjs
See package.json for more details