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

eslint-config-guyellis

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-guyellis

Guy Ellis ESLint Config

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

eslint-config-guyellis

From the ESLint team: ESLint Shareable Configs

Usage

Basic

$ npm i eslint-config-guyellis eslint

Add to your .eslintrc

{
  "extends": "guyellis"
}

ES6

To use the es6 rule set:

$ npm i eslint-config-guyellis babel-eslint eslint

Add this to your .eslintrc:

{
  "extends": "guyellis/es6"
}

React

To use the React rule set:

$ npm i eslint-config-guyellis eslint-plugin-react eslint

Add this to your .eslintrc:

{
  "extends": "guyellis/react"
}

Composition

You can use any combination of these shareable configs.

Install the dependencies:

$ npm i eslint-config-guyellis babel-eslint eslint-plugin-react eslint

.eslintrc:

{
  "extends": [
    "guyellis",
    "guyellis/es6",
    "guyellis/react"
  ]
}

Notes

Eslint config properties like env or globals are project specific. Set them in your own .eslintrc file. Override with your own rules in your .eslintrc file.

For instance:

{
  "env": {
    "browser": true
  },
  "globals": {
    "React": true
  },
  "extends": [
    "guyellis",
    "guyellis/react"
  ]
}

Keywords

eslint

FAQs

Package last updated on 17 May 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