/eslint-config-mcafee

Shareable Configs for McAfee JavaScript Secure Coding Recommentations

Primary LanguageJavaScriptMIT LicenseMIT

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...
  }
}
{
  extends: ['eslint:recommended', 'mcafee'],
  rules: {
    // Additional rules and overrides...
  }
}