1.3.0 • Published 5 years ago

intolerable-style-guide v1.3.0

Weekly downloads
30
License
ISC
Repository
github
Last release
5 years ago

intolerable-style-guide npm version

If your linter isn't constantly yelling at you, it isn't strict enough.

Conventional Commits

Installation

You can install intolerable-style-guide using npm via

npm install -D intolerable-style-guide

You will also need to install appropriate versions of tslint and friends. Just look out for the peerDependency warnings you get as you install this package.

Configuration

Once you have installed this package, you will need to setup your tslint.json in the root of your project. Just copy in:

{
  "extends": "intolerable-style-guide"
}

It is also recommended to manually add a linting script to your package.json, which should look like this:

"scripts": {
  ...
  "lint": "tslint -p . -c tslint.json"
}

This will allow you to run:

npm run lint

Querks

Some of the rules require type-checking, which is disabled when Visual Studio Code runs its linting tool (due to performance reasons.) Because of this, rules like await-promise won't work until you call the linter from the console.

1.3.0

5 years ago

1.2.3

5 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago