At WeTransfer we code in style. This is our style.
If you want to code in our style, here's what you have to do:
Add wetransfer_style
to your Gemfile
:
gem 'wetransfer_style'
or to your *.gemspec
:
spec.add_development_dependency 'wetransfer_style'
Add a .rubocop.yml
in the root of you repository, having:
inherit_gem:
wetransfer_style: ruby/default.yml
Thanks for taking the time to bring our style to the next level. If you aren't a contributor, please follow step 1 through 5. If you are a contributor to the repository, please follow all steps.
- (Fork and) Clone this repository
- Make your changes
- Make a concise entry in ./CHANGELOG.md
- Bump the version number
- Create a Pull Request
- Merge the PR on enough approvals
- Pull latest changes on your system
- Build the gem with
gem build wetransfer_style.gemspec
- Push your changes with
gem push wetransfer_style-x.y.z.gem