eslint-plugin-pabigot

1.1.1 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-pabigot

Weekly Downloads

14

Version

1.1.1

License

MIT

Unpacked Size

29.1 kB

Total Files

10

Last publish

Collaborators

  • pabigot