0.0.3 • Published 2 years ago

eslint-plugin-stronk-ts v0.0.3

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

eslint-plugin-stronk-ts

Provides a set of rules for making your types stronger in TypeScript. Meant to be used in conjunction with stronk-ts.

Installation

npm install --save-dev eslint eslint-plugin-stronk-ts

Usage

Extend the recommended ruleset in your .eslintrc file:

{
    "extends": ["plugin:stronk-ts/recommended"]
}

Or add stronk-ts to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": ["stronk-ts"]
}

Configure the rules you want to use or change under the rules section:

{
    "rules": {
        "stronk-ts/no-typeof": "off",
        "stronk-ts/no-typeof-comparison": "error"
    }
}
0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago