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

eslint-config-spt

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-spt

ESLint settings for SPT

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
6
Weekly downloads
 
Created
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

Package last updated on 24 Dec 2016

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