Tradeshift / eslint-config-tradeshift

ESLint Shareable Config for JavaScript Tradeshift Style
ISC License
3 stars 3 forks source link
developer-productivity

Tradeshift - ESLint Shareable Config

travis npm downloads peerDependencies

[![semantic-release][semantic-release-img]][semantic-release-url] [![Commitizen friendly][commitizen-friendly-img]][commitizen-friendly-url]

[commitizen-friendly-img]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg [commitizen-friendly-url]: http://commitizen.github.io/cz-cli/ [semantic-release-img]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg [semantic-release-url]: https://github.com/semantic-release/semantic-release

An ESLint Shareable Config for JavaScript Tradeshift Style

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.