tslint-config-avol

2.3.0 • Public • Published

NPM Dependencies DevDependencies

tslint-config-avol

Avol’s config for TSLint.

Installation

npm install --save-dev tslint tslint-config-avol

Usage

In tslint.json:

{
    "extends": "tslint-config-avol"
}

To use with type-check rules, in tslint-project.json:

{
    "extends": ["tslint-config-avol", "tslint-config-avol/project"]
}

And run with:

tslint -c tslint-project.json -p \"scripts/tsconfig.json\"

Example scripts for package.json:

{
  "scripts": {
    "lint:scripts-project": "tslint -c tslint-project.json -p tsconfig.json",
    "lint:scripts-other": "tslint \"{*.js,src/*.d.ts,test/*.{ts,tsx}}\"",
    "lint": "npm run lint:scripts-project && npm run lint:scripts-other"
  }
}

Rules

TSLint

Change Log

View changelog.

License

MIT.

Package Sidebar

Install

npm i tslint-config-avol

Weekly Downloads

2

Version

2.3.0

License

MIT

Unpacked Size

12 kB

Total Files

9

Last publish

Collaborators

  • avol