1.0.12 • Published 9 months ago

@radsjs/eslint-plugin v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

eslint-plugin-tyrecheck

Custom ESLint rules by Tyrecheck

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-tyrecheck:

npm install eslint-plugin-tyrecheck --save-dev

Usage

In your configuration file, import the plugin eslint-plugin-tyrecheck and add tyrecheck to the plugins key:

import tyrecheck from "eslint-plugin-tyrecheck";

export default [
    {
        plugins: {
            tyrecheck
        }
    }
];

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

import tyrecheck from "eslint-plugin-tyrecheck";

export default [
    {
        plugins: {
            tyrecheck
        },
        rules: {
            "tyrecheck/rule-name": "warn"
        }
    }
];

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

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

NameDescriptionšŸ”§
safe-translationsAn example ESLint rulešŸ”§
1.0.12

9 months ago

1.0.9

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago