Skip to content

Pioneer-Valley-Books/pvb-rubocop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pvb-rubocop

pvb-rubocop holds common configuration for rubocop utility.

Installation

$ bundle add pvb-rubocop --group=development
$ bundle add rubocop --group=development
$ bundle add rubocop-factory_bot --group=development
$ bundle add rubocop-performance --group=development
$ bundle add rubocop-rspec --group=development

Usage

Add the following to the rubocop.yml file:

inherit_gem:
  pvb-rubocop: rubocop.yml

For more details see rubocop documentation on inheriting configuration from a dependency gem

Creating a release

  1. Create a new pull request that:
  • Bumps the version in pvb-rubocop.gemspec
  • Updates CHANGELOG.md to include all noteworthy changes, the release version, and the release date.
  1. After the pull request lands, checkout the most up to date main branch and build the gem:
$ docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) ruby gem build
  1. Publish the gem:
$ docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) ruby gem push pvb-rubocop-X.Y.Z.gem
  1. Create and publish a git tag:
$ git tag X.Y.Z
$ git push https://github.com/Pioneer-Valley-Books/pvb-rubocop.git X.Y.Z

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages