1.0.2 • Published 5 years ago

typestrict v1.0.2

Weekly downloads
2,762
License
MIT
Repository
github
Last release
5 years ago

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.

Logo by @codeandcats.

License

MIT by Krzysztof Kaczor