1.1.1 • Published 3 years ago

eslint-plugin-pabigot v1.1.1

Weekly downloads
13
License
MIT
Repository
github
Last release
3 years ago

eslint-plugin-pabigot

NPM version Build Status Coverage Status

A holder for rules and other ESLint extensions that suit my needs.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-pabigot:

$ npm install eslint-plugin-pabigot --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-pabigot globally.

Usage

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

{
  "plugins": [
    "pabigot"
  ]
}

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

{
  "rules": {
    "pabigot/affixed-ids": ["error", {
      "base": "camelcase",
      "allowedSuffixes": ["_ms"]
    }]
  }
}

Supported Rules