My opinionated eslint config
The config covers rules for ES2015 and React.
npm i --save-dev eslint-config-globetro
- create a
.eslintrc
on the root of your project with the following content:
{
"extends": "eslint-config-globetro",
"rules": {}
}
{
"extends": "eslint-config-globetro/react",
"rules": {}
}
Any rules
after the extended rules in your .eslintrc
will override the rules in ureact.
IMPORTANT: Do not manually change the version in package.json
- Make sure all changes are merged into
master
- Run the release script:
npm run release -- major|minor|patch
Example:
npm run release -- patch
This will auto-bump package.json, tag the release, and publish