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

eslint-config-supermind

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-supermind

Supermind's ESLint configuration

  • 0.48.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41
increased by17.14%
Maintainers
1
Weekly downloads
 
Created
Source

Supermind ESLint Config

Install yarn globally:

npm install yarn --global

Add eslint and eslint-config-supermind as a devDependency to your project:

yarn add eslint eslint-config-supermind --dev

Create an .eslintrc.js file at the root of your project and add the following configuration:

module.exports = {
  root: true, // Prevent ESLint from inheriting configuration above this file
  extends: [
    'supermind',          // Extend base config
    'supermind/react',    // Extend react config (optional)
    'supermind/inferno',  // Extend inferno config (optional)
    'supermind/jsx-a11y', // Extend jsx-a11y config (optional)
    'supermind/flowtype'  // Extend flowtype config (optional)
  ]
}

Add a lint script in your project package.json file:

{
  "name": "kitten-socks",
  "scripts": {
    "lint": "eslint source"
  }
}

To lint the source directory of your project run:

yarn run lint

Development

To ensure that all available rules are specified throughout the config files run:

yarn run list-omitted-rules

Keywords

FAQs

Package last updated on 04 Feb 2018

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