adviser-plugin-audit-npm

0.0.3 • Public • Published

adviser-plugin-audit-npm

Run npm audit on the package.json

Installation

You'll first need to install Adviser:

$ npm i adviser --save-dev

Next, install adviser-plugin-audit-npm:

$ npm install adviser-plugin-audit-npm --save-dev

Note: If you installed Adviser globally (using the -g flag) then you must also install adviser-plugin-audit-npm globally.

Usage

Add audit-npm to the plugins section of your .adviserrc configuration file. You can omit the adviser-plugin- prefix:

{
  "plugins": ["audit-npm"]
}

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

{
  "rules": {
    "audit-npm/min-vulnerabilities-allow": ["error", { "level": "low", "skip": ["780"] }]
  }
}

Supported Rules

  • min-vulnerabilities-allow

Dependencies (2)

Dev Dependencies (21)

Package Sidebar

Install

npm i adviser-plugin-audit-npm

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

32.9 kB

Total Files

24

Last publish

Collaborators

  • iranreyes