1.0.9 • Published 5 years ago

@dvhb/tslint-config v1.0.9

Weekly downloads
43
License
MIT
Repository
github
Last release
5 years ago

TSLint Config DVHB

Basic TSLint config for DVHB projects

Installation

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

Usage

In tslint.json:

{
  "extends": "@dvhb/tslint-config"
}

Extends

Rules

  • no-console — forbids console.log()
  • prettier — checks code style with Prettier
  • variable-name — restrict variables names to camelCase
    • allow-pascal-case — for classes, constructors and react components name
    • allow-leading-underscore — for noUnusedParameters TS rule when required parameter of function is not first