🏎 Short "How to use"
yarn add @sequencework/eslint-config --dev yarn sequence-lint-init yarn install
Detailed "How to use"
Install this package :
yarn add @sequencework/eslint-config --dev
It contains a script to initialize your package. Run it like this :
The script will rewrite your package.json to add dev dependencies, pre-commit hooks (with husky), lint-staged, ...
(For example, you can check what's added for the default configuration)
To install the new dependencies and the git hooks, you need to run :
🎁 That's it, you're all set
Shamelessly inspired by @zeit's eslint config