We (mostly) structure and lint our JS code according to AirBnB's JavaScript styleguide. Exceptions are noted below.
npm install eslint-config-interactivethings --save-dev
In your project's .eslintrc
:
{
"extends": "interactivethings"
}
Override any rules which don't fit your project.
new
. E.g. const foo = Immutable.Map();
should be allowed.__DEV__
globalnpm version x.x.x