1.5.8 • Published 29 days ago
@craftworks/tslint-config-angular v1.5.8
@craftworks/tslint-config-angular
A TSLint config optimized for Angular.
Contains the configs of
tslint:recommended
tslint-angular
tslint-config-prettier
and applies a custom config.
Installation
npm install @craftworks/tslint-config-angular --save-dev
Check for necessary peer dependencies.
Usage
In tslint.json
:
{
"extends": "@craftworks/tslint-config-angular",
"rules": {
"directive-selector": [true, "attribute", "your-angular-prefix", "camelCase"],
"component-selector": [true, "element", "your-angular-prefix", "kebab-case"]
}
}
Peer Dependencies
codelyzer: ^6.0.0
typescript: ^3.3.0 || ^4.0.0
tslint: ^5.16.0 || ^6.0.0
See package.json for more details
Know problems
- tslint-consistent-codestyle still requires tslint ^5.0.0
- both tsutils ^2.0.0 and ^3.0.0 are required
- zone.js ~0.11.4 is required by @angular/core@12.2.17
Change Log
See CHANGELOG.md