Skip to content

Tradeshift/eslint-config-tradeshift

Repository files navigation

Tradeshift - ESLint Shareable Config

travis npm downloads peerDependencies

semantic-release Commitizen friendly

Install

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

Thanks to @sqren for starting this project!

License

ISC. Copyright (c) 2019, Tradeshift.