Skip to content

ESLint config focused on maximizing type safety 💪

Notifications You must be signed in to change notification settings

krzkaczor/TypeStrict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeStrict

TypeStrict

Squash bugs before shipping them with TypeScript and ESLint!

ESLint config focused on maximizing type safety

Downloads Software License

Installation

npm install --save-dev @typescript-eslint/eslint-plugin eslint-plugin-sonarjs eslint-config-typestrict

👉 If you still use TSLint please use typestrict@1

Usage

In your .eslintrc.json:

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

Unfortunately, you need to install plugins that we depend on manually: @typescript-eslint/eslint-plugin, eslint-plugin-sonarjs

Remember to use strict compiler setting in tsconfig.json!

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 your code style or formatting.

TypeStrict combines rules from various rule sets: typescript-eslint, sonarJS,

Complete rules list

ESLint

TypeScript ESLint

SonarTS

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

About

ESLint config focused on maximizing type safety 💪

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published