eslint-config-remitly v3.0.2
DEPRECATED
This configuration has been deprecated. It hasn't ended up being shared much, and has become out of date, especially since our migration to typescript and tslint to eslint. It's also not been broadly applicable - different projects have different needs that end up resulting in lots of custom config.
Instead, you should rely on the broader community and apply project specific configurations within your repository.
eslint configuration
npm install --save-dev eslint eslint-config-remitly
You'll also need to install several plugins by following Airbnb's instructions.
Create the file .eslintrc.js
.
module.exports = {
extends: 'remitly',
};
The base config is designed to work in any javascript environment. It uses babel by default to support ES6/7.
When adding eslint config files, prefer .eslintrc.js
. Using actual javascript files allows commenting and self-linting.
NOTE If atom's linter starts throwing errors after upgrading or installing, restart it. It'll often break due to cached configurations.
Browser
extends: 'remitly/webpack'
Jest
extends: 'remitly/testing'