eslint-config-secure

0.2.1 • Public • Published

Secure - ESLint Shareable Config

circleci codecov npm downloads

An ESLint Shareable Config with generic static security analysis plugins.

What is this?

This module checks for basic security issues in your Javascript. It includes plugins recommended by 18F, listed here.

Usage

Shareable configs are designed to work with the ESLint extends feature.

Learn more about Shareable Configs on the official ESLint website.

  1. Add the package to your package.json file:
    $ npm install --save-dev eslint eslint-config-secure
    
  2. Add this eslintConfig and npm script configuration to your package.json file:
{
  "name": "my-super-package",
  "eslintConfig": {
    "extends": "secure"
  }
  "scripts": {
    "lint": "./node_modules/.bin/eslint ."
  }
}

You can override settings from this config by adding them directly to your .eslintrc or package.json file.

License

MIT. Copyright (c) Jeff Kohrman

Package Sidebar

Install

npm i eslint-config-secure

Weekly Downloads

46

Version

0.2.1

License

MIT

Last publish

Collaborators

  • jkohrman