These are the default settings we've chosen for our JavaScript to adhere to with eslint at Wellcome. It is comprised of the JS Standard config, with a handful of overrides.
Save this package as a dev-dependency:
npm install --save-dev eslint-config-wellcome
Add an .eslintrc.json
file to the root directory of your application, containing the following:
{
"extends": ["wellcome"]
}