beardedvikingdev / eslint-plugin

Eslint plugin for custom rules used in my projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@beardedviking/eslint-plugin

A plugin containing custom rules that I use in my projects

Installation

You'll first need to install ESLint:

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:

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

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

{
  "rules": {
    "@beardedviking/<config-name>": "error"
  }
}

Supported Rules

About

Eslint plugin for custom rules used in my projects

License:MIT License


Languages

Language:JavaScript 98.3%Language:Shell 1.7%