Skip to content

thinkhr-code/hrsc_style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hrsc-style

HRSC shared style configs.

Installation

Add this line to your application's Gemfile:

group :test, :development do
  gem 'hrsc-style'
end

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

spec.add_development_dependency 'hrsc-style'

And then run:

$ bundle install

Usage

Create a .rubocop.yml with the following directives:

inherit_gem:
  hrsc-style:
    - default.yml

Now, run:

$ bundle exec rubocop

You do not need to include rubocop directly in your application's dependences. HRSC-style will include a specific version of rubocop that is shared across all projects.

About

Shared rubocop config for Mammoth ruby apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •