• Stars
    star
    220
  • Rank 180,422 (Top 4 %)
  • Language
    JavaScript
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ESLint config focused on maximizing type safety 💪

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

More Repositories

1

babel-plugin-tailcall-optimization

Tail call optimization for JavaScript!
JavaScript
191
star
2

ny

🗽 Fast, Proxy Package Manager for JavaScript
Rust
89
star
3

babel-plugin-proxy

Use ES6 proxies today!
JavaScript
65
star
4

hyperterm-paste

Makes pasting into hyperterm safe and easy
JavaScript
45
star
5

ts-generator

The missing piece for fully typesafe Typescript apps
TypeScript
30
star
6

awesome-optimism-bridges

List of currently developed optimism bridges
25
star
7

standardts

Opinionated code style for TypeScript
JavaScript
22
star
8

tadd

📺 Installs packages and automatically finds best Typescript typings
TypeScript
20
star
9

fuel-attack

TypeScript
18
star
10

SwiftScript

SwiftScript allows you to run your swift code directly in browser by translating it into JavaScript.
JavaScript
17
star
11

TypeSwift

Statically typed bridge between Swift and JavaScript using TypeScript definitions
TypeScript
15
star
12

psp-developer-guide

10
star
13

ts-boilerplate

TypeScript + ESLint + Prettier + TypeSTRICT
JavaScript
6
star
14

Chess.ai.js

Artificial intelligence for chess
JavaScript
6
star
15

SwiftAST

JavaScript
5
star
16

quake-on-unix

How to get Quake running on linux / mac
4
star
17

CSP-Solver

General solver for constraint satisfaction problems
C++
4
star
18

EthereumQL

TypeScript
3
star
19

cheatcalls-eip

TypeScript
3
star
20

truffle-codechecks

JavaScript
2
star
21

magic-container

Type safe dependency injection container with super powers!
TypeScript
2
star
22

CobolToCSharpTranslator

Cobol85 translator to CSharp written in JavaScript (ES6)
JavaScript
2
star
23

docker-devbox

dockerized ubuntu + common utils
Dockerfile
1
star
24

lighthouse-keeper-example

JavaScript
1
star
25

warsawjs-demo-backup

JavaScript
1
star
26

rust-fun

Rust
1
star
27

rusty-lisp

Simple LISP interpreter written in rust
Rust
1
star
28

CspQueensProblemGenerator

Simple generator of queens problem to CSP-DSL
Java
1
star
29

monorepo-boilerplate

JavaScript
1
star
30

Typechain-example

Example app using typechain
JavaScript
1
star
31

Warsaw-TS-meetup

Warsaw Typescript Meetup
1
star
32

geth-private-node

Easy to setup geth private node with lots of ether!
JavaScript
1
star
33

refined-etherscan

Adds additional features, aiding debugging to etherscan.com
HTML
1
star
34

synchronisify

Turns asynchronous constructor into synchronous one.
JavaScript
1
star