@gmo-media/eslint-config
v2.0.1
Published
eslint config for gmo-media.
Downloads
2,186
Readme
eslint-config
eslint config for gmo-media.
Basic Usage
Install
$ npm install --save-dev eslint @gmo-media/eslint-config
.eslintrc
{
"extends": "@gmo-media/eslint-config",
"env": {
"browser": true
},
"rules": {
"indent": ["error", 2]
}
}
Rule sets
@gmo-media/eslint-config/legacy
- for legacy JavaScript.
@gmo-media/eslint-config/es5
- for modern es5 script. (default)
@gmo-media/eslint-config/es6
- for es6 script.
@gmo-media/eslint-config/react
- for React.
- Please install the
eslint-plugin-react
.
Development
- Edit the rules.
npm test
npm version XXX -m 'message'
git push origin master
git push origin v1.x.x
npm publish --access=public
License
MIT