rubocop-twirp
Improve your Twirp code with RuboCop
Install
gem install rubocop-twirp
Add to your Gemfile
gem "rubocop-twirp", require: false
Add to .rubocop.yml
require: rubocop-twirp
Use
Scan and fix issues
rubocop -r rubocop-twirp --only Twirp -A
Fix Twirp::ClientResp
breaking change introduced in Twirp v1.10. (Cop disabled by default)
rubocop -r rubocop-twirp --only Twirp/DeprecatedArguments -A
Contributing
Yes please :)
- Fork it
- Create your feature branch (
git checkout -b my-feature
) - Ensure the tests pass (
bundle exec rspec
) - Commit your changes (
git commit -am 'awesome new feature'
) - Push your branch (
git push origin my-feature
) - Create a Pull Request