Package Exports
- eslint-config-mcafee
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-mcafee) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-config-mcafee
ESLint shareable Configs for McAfee JavaScript Secure Coding Recommentations
Installation
$ npm install --save-dev eslint eslint-config-mcafee
Usage
Once the eslint-config-mcafee
package is installed, you can use it by specifying
mcafee
in the extends section of your ESLint configuration.
{
extends: 'mcafee',
rules: {
// Additional rules and overrides...
}
}
- It is strongly recommended with
eslint:recommended
like below
{
extends: ['eslint:recommended', 'mcafee'],
rules: {
// Additional rules and overrides...
}
}