ESlint shareable config for Allthings style
yarn add -DE @allthings/eslint-config
Add this to your .eslintrc.js
module.exports = {
extends: ['@allthings/eslint-config'],
}
module.exports = {
extends: ['@allthings/eslint-config/node'],
}
Publishing to npm
yarn deploy
Run yarn link
in the project folder
Run yarn link @allthings/eslint-config
in the project that you want to test it against
After you finish run in your project yarn unlink @allthings/eslint-config
and then yarn install --force
to restore the initial state of dependencies