eslint-plugin-rapid7

7.3.4 • Public • Published

eslint-plugin-rapid7

Rapid7-specific linting rules for ESLint

Installation

Install ESLint as well as the plugin.

$ npm install eslint eslint-plugin-rapid7 --save-dev

Configuration

Add plugins section and specify eslint-plugin-rapid7 as a plugin to your .eslintrc.

{
  "plugins": ["rapid7"]
}

Enable the rules that you would like to use.

{
  "rules": {
    "rapid7/named-import-newline": 1,
    "rapid7/sort-object-keys": [2, {"caseSensitive": false}]
  }
}

List of supported rules

/eslint-plugin-rapid7/

    Package Sidebar

    Install

    npm i eslint-plugin-rapid7

    Weekly Downloads

    46

    Version

    7.3.4

    License

    MIT

    Unpacked Size

    150 kB

    Total Files

    14

    Last publish

    Collaborators

    • tquetano-r7