Socket
Book a DemoInstallSign in
Socket

eslint-config-gobold

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

eslint-config-gobold

Bold Financial ESLint Config

0.2.0
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

eslint-config-gobold

From the ESLint team: ESLint Shareable Configs

Usage

Basic

$ npm i eslint-config-gobold eslint

Add to your .eslintrc

{
  "extends": "gobold"
}

ES6

To use the es6 rule set:

$ npm i eslint-config-gobold babel-eslint eslint

Add this to your .eslintrc:

{
  "extends": "gobold/es6"
}

React

To use the React rule set:

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

Add this to your .eslintrc:

{
  "extends": "gobold/react"
}

Composition

You can use any combination of these shareable configs.

Install the dependencies:

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

.eslintrc:

{
  "extends": [
    "gobold",
    "gobold/es6",
    "gobold/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": [
    "gobold",
    "gobold/react"
  ]
}

Keywords

eslint

FAQs

Package last updated on 13 Jan 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.