@dvhb/tslint-config

1.0.9 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @dvhb/tslint-config

Weekly Downloads

1

Version

1.0.9

License

MIT

Unpacked Size

3.66 kB

Total Files

4

Last publish

Collaborators

  • admindvhb
  • alexbee
  • r2d2dvhb
  • sairus2k