Socket
Book a DemoInstallSign in
Socket

eslint-config-shyp

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-shyp

An eslint configuration for Shyp projects

1.0.0
latest
npmnpm
Version published
Maintainers
3
Created
Source

eslint-config-shyp

An eslint shareable config for Shyp's web projects.

Contributing

  • All changes and proposals should be made in a pull request against this repo. Tag the @shyp/web team for discussion and do not merge changes without making sure everyone's in the loop - any updates here impact many projects.
  • In general, we're very unlikely to add or modify rules in a way that contradicts earlier rules. Changes are generally to enforce something we've decided to avoid, or loosen a restriction that we've found an edge case for. The style prescribed here may not match your personal preferences, but we're aiming for consistency and codifying patterns that we already use, so unfortunately not everyone's tastes will match this at all times.

Usage

Three configurations are currently provided:

eslint-config-shyp

A baseline for linting ES2015+ projects.

Install via:

$ npm install --save-dev eslint eslint-config-shyp

Then in your .eslintrc:

{
  "extends": "eslint-config-shyp",
  ... overwrite any rules as necessary ...
}

eslint-config-shyp/babel

A configuration for projects using Babel.

Installation:

$ npm install --save-dev eslint eslint-config-shyp babel-eslint

eslintrc:

"extends": "eslint-config-shyp/babel"

eslint-config-shyp/react

A configuration for projects using React. Also uses Babel as the parser.

Installation:

$ npm install --save-dev eslint eslint-config-shyp babel-eslint eslint-plugin-react

eslintrc:

"extends": "eslint-config-shyp/react"

FAQs

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

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.