Skip to content

mddelk/rubocop-lazy-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rubocop-lazy-config

Simple ruby styling: standardrb plus anything rubocop recommends.

Installation

Add to your Gemfile:

group :development, :test do
  gem "rubocop-lazy-config",
    github: "jethrodaniel/rubocop-lazy-config",
    require: false
end

Usage

Add the following to your config (e.g, .rubocop.yml):

inherit_gem:
  rubocop-lazy-config: rubocop.yml

Extending

This gem ignores several auto-generated Rails files in AllCops, so if you want to add your own file paths to ignore, you'll need to merge the Exclude so your changes don't overwrite ours - e.g:

inherit_gem:
  rubocop-lazy-config: rubocop.yml

inherit_mode:
  merge:
    - Exclude

AllCops:
  Exclude:
    # https://github.com/glebm/i18n-tasks#installation
    - test/i18n_test.rb

License

The gem is available as open source under the terms of the MIT License.

About

standardrb + rubocop recommendations

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages