No commit activity in last 3 years
No release in over 3 years
shared style config for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.89.1
~> 1.29.1
 Project Readme

matkoniecz-ruby-style

Shared ruby style config for rubocop.

Inspired by percy-style.

Installation

$ gem install matkoniecz-ruby-style

or add this line to your application's Gemfile:

gem 'matkoniecz-ruby-style'

or, for a Ruby library, add this to your gemspec:

spec.add_development_dependency 'matkoniecz-ruby-style'

Usage

Create a .rubocop.yml with the following directives:

inherit_gem:
  matkoniecz-ruby-style:
    - standard_rubocop_config.yml

You do not need to include rubocop directly in your application's dependencies. This gem includes a specific version of rubocop and rubocop-rspec that is shared across all projects.

How to release new gem version

See reinstall.sh and reinstall_and_push_new_version.sh files.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/matkoniecz/matkoniecz-ruby-style.