An open API service indexing awesome lists of open source software.

https://github.com/beardedvikingdev/eslint-plugin

Eslint plugin for custom rules used in my projects
https://github.com/beardedvikingdev/eslint-plugin

eslint eslint-plugin

Last synced: 6 months ago
JSON representation

Eslint plugin for custom rules used in my projects

Awesome Lists containing this project

README

          

# @beardedviking/eslint-plugin

A plugin containing custom rules that I use in my projects

## Installation

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

```sh
npm i eslint --save-dev
npm install @beardedviking/eslint-plugin --save-dev
```

## Usage

Add `@beardedviking` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin` prefix:

```json
{
"plugins": ["@beardedviking"]
}
```

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

```json
{
"rules": {
"@beardedviking/": "error"
}
}
```

## Supported Rules

- [no-await-then-catch](docs/rules/no-await-then-catch.md)
- [no-relative-import](docs/rules/no-relative-import.md)