eslint-plugin-rapid7

Rapid7 specific linting rules for ESLint

MIT 21 个版本
安装
npm install eslint-plugin-rapid7
yarn add eslint-plugin-rapid7
pnpm add eslint-plugin-rapid7
bun add eslint-plugin-rapid7
README

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

版本列表
7.3.4 2018-08-06
7.3.3 2018-06-29
7.3.2 2018-06-28
7.3.1 2018-06-26
7.3.0 2018-06-26
7.2.2 2018-06-25
7.2.1 2018-06-25
7.2.0 2018-06-25
7.1.3 2018-06-20
7.1.2 2018-06-20
7.1.1 2018-06-20
7.1.0-1 2018-06-20
7.1.0-0 2018-06-20
7.1.0 2018-06-20
7.0.0-2 2018-06-20
7.0.0-1 2018-06-20
7.0.0-0 2018-06-20
7.0.0 2018-06-20
6.0.0 2018-06-20
5.0.1 2016-01-20
5.0.0 2016-01-20