1.0.12 • Published 10 months ago

@radsjs/eslint-plugin v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
10 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

10 months ago

1.0.9

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago