The eslint config we use at moccu
$ npm install --save-dev @moccu/eslint-config
This is a customized ruleset based on the eslint recommended rules.
{
"extends": [
"@moccu/eslint-config"
],
"rules": {
// Additional rules...
}
}
This is a customized ruleset based on the eslint-plugin-react
rules.
Separately there is a ruleset for proptypes-validation in @moccu/eslint-config/react-proptypes
.
{
"extends": [
"@moccu/eslint-config",
"@moccu/eslint-config/react",
"@moccu/eslint-config/react-proptypes"
],
"rules": {
// Additional rules...
}
}
- Add / Edit rules after agreements with developers at Moccu
- Run tests using
npm test
- Set new version in package.json
- Publish new version on npm using
npm publish --access=public
- Add github release and tag including release notes