eslint-plugin-kcd-egghead

0.0.0 • Public • Published

eslint-plugin-kcd-egghead

Just a demo of an eslint plugin. Don't use this.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-kcd-egghead:

$ npm install eslint-plugin-kcd-egghead --save-dev

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

Usage

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

{
    "plugins": [
        "kcd-egghead"
    ]
}

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

{
    "rules": {
        "kcd-egghead/rule-name": 2
    }
}

Supported Rules

  • no-console: disable the use of console

Package Sidebar

Install

npm i eslint-plugin-kcd-egghead

Weekly Downloads

2

Version

0.0.0

License

MIT

Last publish

Collaborators

  • kentcdodds