eslint-config-globetro
v4.2.0
Published
My opinionated eslint config for React
Downloads
16
Readme
eslint-config-globetro
My opinionated eslint config
Usage
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:
For node app
{
"extends": "eslint-config-globetro",
"rules": {}
}
For React
{
"extends": "eslint-config-globetro/react",
"rules": {}
}
Any rules
after the extended rules in your .eslintrc
will override the rules in ureact.
Contributing
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