Socket
Socket
Sign inDemoInstall

eslint-config-secure

Package Overview
Dependencies
223
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-secure

A shareable ESLint config with code security plugins


Version published
Maintainers
1
Install size
28.7 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 22 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc