Skip to content

ESLint plugin to apply rules that enforce various best practices. Deprecated. This was a homebrew implementation created separately from what has become the community plugin.

License

Notifications You must be signed in to change notification settings

skye2k2/eslint-plugin-bestpractices

Repository files navigation

eslint-plugin-bestpractices

Build Status Maintainability Test Coverage

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-bestpractices :

$ npm install https://github.com/skye2k2/eslint-plugin-bestpractices.git --save-dev

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

Usage

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

{
    "plugins": [
        "bestpractices"
    ]
}

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

{
    "rules": {
        "bestpractices/no-eslint-disable": "warn"
    }
}

Supported Rules

License

MIT

About

ESLint plugin to apply rules that enforce various best practices. Deprecated. This was a homebrew implementation created separately from what has become the community plugin.

Resources

License

Stars

Watchers

Forks