tslint-config-craftworksdeprecated

A TSLint config used at craftworks optimized for Angular

Usage no npm install needed!

<script type="module">
  import tslintConfigCraftworks from 'https://cdn.skypack.dev/tslint-config-craftworks';
</script>

README

TSLint Config Craftworks

NPM version Downloads

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

License

MIT