RuboCop::Netlify
This repository provides additional RuboCops Cops for use on Netlify open source and internal Ruby projects.
TODO: Add recommended RuboCop configuration to inherit from
Installation
Add this line to your application's Gemfile:
gem 'rubocop-netlify'And then this to .rubocop.yml
require:
- rubocop-netlifyTesting
bundle install
bundle exec rake test
The Cops
All cops are located under lib/rubocop/cop/netlify, and contain examples/documentation.
Release
- Make sure you have an account in https://rubygems.org/ and be a part of https://rubygems.org/gems/rubocop-netlify owners
- Update a version in lib/rubocop/netlify/version.rb
- Tag it (also maybe make a new release in GitHub)
- Run
gem build rubocop-netlify.gemspecto build a gem - Run
gem pushwith a newly created gem file - Done done!