# eslint-plugin-tyrecheck

Custom ESLint rules by Tyrecheck

## Installation

You'll first need to install [ESLint](https://eslint.org/):

```sh
npm i eslint --save-dev
```

Next, install `eslint-plugin-tyrecheck`:

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

## Usage

In your [configuration file](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-file), import the plugin `eslint-plugin-tyrecheck` and add `tyrecheck` to the `plugins` key:

```js
import tyrecheck from "eslint-plugin-tyrecheck";

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


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

```js
import tyrecheck from "eslint-plugin-tyrecheck";

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



## Configurations

<!-- begin auto-generated configs list -->
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
<!-- end auto-generated configs list -->



## Rules

<!-- begin auto-generated rules list -->

🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).

| Name                                                 | Description            | 🔧 |
| :--------------------------------------------------- | :--------------------- | :- |
| [safe-translations](docs/rules/safe-translations.md) | An example ESLint rule | 🔧 |

<!-- end auto-generated rules list -->


