0.0.10 • Published 2 years ago

eslint-plugin-justive-better-ts-belt v0.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-justive-better-ts-belt

prevent using non-exhaustive pattern matching in typescript

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-justive-better-ts-belt:

npm eslint-plugin-justive-better-ts-belt --save-dev

Usage

Add justive-better-ts-belt to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "justive-better-ts-belt"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "justive-better-ts-belt/noPipeForSingleFunction": 2
    }
}

Rules

šŸ”§ Automatically fixable by the --fix CLI option.

NameDescriptionšŸ”§
noFlowForSingleFunctionno flow function with single ts-belt's function.šŸ”§
noPipeForSingleFunctionno pipe function with single ts-belt's function.šŸ”§
preferTacitStyleprefer tacit style programming.šŸ”§
0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago