Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-guild

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-guild

![npm](https://img.shields.io/npm/v/eslint-config-guild.svg) # Guild Education JavaScript Style

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
98
decreased by-2%
Maintainers
3
Weekly downloads
 
Created
Source

npm

Guild Education JavaScript Style

At Guild, our JavaScript style is based on JavaScript Standard Style with a few exceptions:

  • Function declarations should not have a space before the parentheses:
    function name (arg) { ... } // ✗ avoid
    function name(arg) { ... } // ✓ ok
    
  • The * in yield* expressions and generator functions must have a space after, but not before:
    yield * increment() // ✗ avoid
    yield *increment() // ✗ avoid
    yield* increment() // ✓ ok
    
    function * increment() { ... } // ✗ avoid
    function *increment() { ... } // ✗ avoid
    function* increment() { ... } // ✓ ok
    

Install

yarn add -D https://github.com/GuildEducationInc/eslint-config-guild.git

Usage

To use the Guild JavaScript Style config, first add eslint to your project:

yarn add -D eslint

Then, add this to your .eslintrc file:

{
  "extends": "guild"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint

FAQs

Package last updated on 04 Jun 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

  • 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