Socket
Socket
Sign inDemoInstall

eslint-config-spt

Package Overview
Dependencies
152
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-spt

ESLint settings for SPT


Version published
Maintainers
6
Install size
7.08 kB
Created

Readme

Source

eslint-config-spt Build Status

A module to contain the SPT JavaScript linting rules for ESLint.

How to use

npm install --save-dev eslint-config-spt

Then add the extends option to your .eslintrc:

{
    "extends": "spt"
}

If it's a React project, install eslint-config-spt, eslint-config-spt-react and eslint-plugin-react.

npm install --save-dev eslint-config-spt eslint-config-spt-react eslint-plugin-react@4

Then add the extends option to your .eslintrc:

{
    "extends": [
        "spt",
        "spt-react"
    ]
}

You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.

FAQs

Last updated on 24 Dec 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