Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@gentsagency/eslint-config

gentsagency4MIT2.1.0

ESLint config for Gents agency

eslint, eslint-config, eslintconfig

readme

Gents Agency JavaScript Style Guide

This guide extends on the Airbnb JavaScript Style Guide. Go there if you want to read up on the code style recommendations.

Exceptions

The few exceptions we make at Gents are listed below:

  • Parens are always required in arrow functions
  • Anonymous functions have to be named for easier debugging
  • Constructor call have to be capitalized, except when initializing an object property
  • Unary operators (++ and --) are allowed inside for loops
  • We use tabs, not spaces