An ESLint Shareable Config for JavaScript Tradeshift Style
Install eslint-config-tradeshift:
$ npm install --save-dev eslint-config-tradeshift
Then, add eslint-config-tradeshift to the "extends" array in your .eslintrc.*
file. Make sure to put it last, so it gets the chance to override other
configs.
Expected default configuration for a typescript project:
{
"extends": [
"eslint-config-tradeshift",
"eslint-config-tradeshift/jest",
"eslint-config-tradeshift/typescript"
]
}
The configuration options are based on eslint-config-react-app.
Thanks to @sqren for starting this project!
ISC. Copyright (c) 2019, Tradeshift.