@gentsagency/eslint-config

2.1.0 • Public • Published

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

/@gentsagency/eslint-config/

    Package Sidebar

    Install

    npm i @gentsagency/eslint-config

    Weekly Downloads

    1

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    2.14 kB

    Total Files

    4

    Last publish

    Collaborators

    • operations_wijs
    • pieterbeulque