Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

interactivethings/eslint-config-interactivethings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Things ESLint Config

We (mostly) structure and lint our JS code according to AirBnB's JavaScript styleguide. Exceptions are noted below.

Usage

npm install eslint-config-interactivethings --save-dev

In your project's .eslintrc:

{
  "extends": "interactivethings"
}

Override any rules which don't fit your project.

Differences to AirBnB config

  • JSX single quotes
  • Capitalized functions don't need to be used with new. E.g. const foo = Immutable.Map(); should be allowed.
  • Allows the __DEV__ global

Development

  • Create single commits for each rule change, and describe the reason for the change in the commit message (why not just what).
  • List any deviations from AirBnB's style in this README
  • Create a new version using npm version x.x.x