1.0.3 • Published 3 years ago

eslint-plugin-devolive v1.0.3

Weekly downloads
-
License
LGPLV3+
Repository
-
Last release
3 years ago

eslint-plugin-devolive

Multiple useful rules

Installation

You will need to install ESLint as well:

npm install --save-dev eslint eslint-plugin-devolive

Usage

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

{
    "plugins": [
        "devolive"
    ]
}

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

{
    "rules": {
      "devolive/import-no-useless-origin": "error",
      "devolive/jsx-no-surrounding-parents": "error"
    }
}

Supported Rules

  • import-no-useless-origin
  • jsx-no-surrounding-parents