Skip to content

jkohrman/eslint-config-secure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A shareable ESLint config with security plugins

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published