@clipchamp/tslint-config

v0.1.6
Clipchamp's TypeScript configuration. Consistent code a day keeps the linter away
tslint style-guide config

Clipchamp TS Style-Guide

This repository holds all sharable rules between our Typescript based libraries, tools and apps. For example, if you are writing a Typescript library, you may want to only lint Typescript, with no Angular rules.

Get up and running by installing the npm package: @clipchamp/tslint-config

npm install --save-dev @clipchamp/tslint-config

And don't forget the peer dependencies:

  • codelyzer
  • sonar-ts
  • tslint

Setting Up For Your Project

The most common scenarios you will have is:

  • With Angular Base Rules
  • Without Angular Base Rules

No Angular Base Rules

You can achieve this via:

{
  "extends": [
    "@clipchamp/tslint-config"
  ]
}

Angular Base Rules

You can achieve this via:

{
  "rulesDirectory": [
    "node_modules/codelyzer"
  ],
  "extends": [
    "@clipchamp/tslint-config/tslint-config-angular"
  ],
}
npm i @clipchamp/tslint-config

Metadata

  • MIT
  • Whatever
  • Byron Mejia
  • released 7/26/2019

Downloads