npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

eslint-plugin-kcd-egghead

0.0.0

@kentcdodds

npmSnykSocket
Downloads:4
$ npm install eslint-plugin-kcd-egghead
DailyWeeklyMonthlyYearly

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