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
- Host: GitHub
- URL: https://github.com/beardedvikingdev/eslint-plugin
- Owner: beardedvikingdev
- License: mit
- Created: 2022-11-28T20:08:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T22:23:24.000Z (about 2 years ago)
- Last Synced: 2025-01-30T05:12:33.598Z (over 1 year ago)
- Topics: eslint, eslint-plugin
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)