Detalhes do pacote

@mcmath/tslint-config

mcmath11MIT2.0.0

TSLint configuration for TypeScript projects

tslint, linter, config, ts

readme (leia-me)

@mcmath/tslint-config

Version Build

TSLint configuration for TypeScript projects

Install

Install as an npm development dependency. TypeScript and TSLint should also be installed.

npm install --save-dev typescript tslint @mcmath/tslint-config

Usage

Create a tslint.json file in the root of your project:

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

New rules may be added or existing ones modified like so:

{
  "extends": "@mcmath/tslint-config",
  "rules": {
    "no-reference": false,
    "quotemark": [true, "single"]
  }
}