typestrict

1.0.2 • Public • Published

TypeStrict

TypeStrict

Squash bugs before shipping them with TypeScript and TSLint!

TSLint config focused on maximizing type safety

Downloads Software License

Installation

npm install --save-dev typestrict

or

yarn add --dev typestrict

Usage

Create tslint.json:

{
  "extends": "typestrict"
  // ... add here your own rules
}

and run tslint -c ./tslint.json --project ./tsconfig.json --format stylish.

Remember to use strict compiler setting in tsconfig.json!

Please, for now ignore warning about deprecated rule, it's discussed here

Description

All rules in this config are focused on catching bugs in your code and be as not annoying as possible. They don't care about code style or formatting.

TypeStrict combines rules from various rule sets: tslint, sonarTS, tslint-microsoft-contrib.

Complete rules list

TSLint

SonarTS

Microsoft Contrib

Contributing

Do you have idea for new rule to be added? You don't agree with one of rules included? Feel free to create issue / PR.

License

MIT by Krzysztof Kaczor

Package Sidebar

Install

npm i typestrict

Weekly Downloads

293

Version

1.0.2

License

MIT

Unpacked Size

15.5 kB

Total Files

4

Last publish

Collaborators

  • krzkaczor