Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-smartprocure

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-smartprocure

SmartProcure's ESLint configuration

  • 3.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-37.32%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-smartprocure CI npm

ESLint shareable config for the SmartProcure JavaScript style guide

Installation

$ npm install --save-dev eslint eslint-config-smartprocure

Usage

Once the eslint-config-smartprocure package is installed, you can use it by specifying smartprocure in the extends section of your ESLint configuration.

{
  "extends": "smartprocure",
  "rules": {
    // Additional, per-project rules...
  }
}

Using the smartprocure config with eslint:recommended

There are several rules in the eslint:recommended ruleset that SmartProcure style is not opinionated about that you might want to enforce in your project.

To use SmartProcure style in conjunction with ESLint's recommended rule set, extend them both, making sure to list smartprocure last:

{
  "extends": ["eslint:recommended", "smartprocure"],
  "rules": {
    // Additional, per-project rules...
  }
}

To see how the smartprocure config compares with eslint:recommended, refer to the source code of index.js, which lists every ESLint rule along with whether (and how) it is enforced by the smartprocure config.

License

MIT

FAQs

Package last updated on 10 Dec 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc