Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

eslint-config-maxdome

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-maxdome

Generic Maxdome ESLint configuration

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

Maxdome config for ESLint

Extends AirBnB's ESLint config and provides linting for Node & React.

Usage

  • Install eslint & dependencies in your project directory

     npm install --save-dev eslint eslint-config-airbnb eslint-config-maxdome
     npm install --save-dev eslint-plugin-react // if necessary
    
  • Add this config to your local .eslintrc file:

     {
         "extends": "maxdome",
         // add project-specific options here
     }
    

3a. For React projects, you can use the react config that extends the main config.

    {
       "extends": "maxdome/react",
       // add project-specific options here
    }

Inside your `/test` directory, you can use the react-test config that extends the main test config.

     {
        "extends": "maxdome/react-test",
        // add project-specific options here
     }

3b. For Node.js projects, you can use the node config that extends the main config.

    {
       "extends": "maxdome/node",
       // add project-specific options here
    }

Inside your `/test` directory, you can use the node-test config that extends the main test config.

     {
        "extends": "maxdome/node-test",
        // add project-specific options here
     }

FAQs

Package last updated on 22 Nov 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