Socket
Socket
Sign inDemoInstall

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


Version published
Weekly downloads
7
increased by600%
Maintainers
1
Weekly downloads
 
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

FAQs

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