Skip to content

growthhackers/gh-style

Repository files navigation

gh-style

GrowthHackers shared style configs.

Installation

Add this line to your application's Gemfile:

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

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

spec.add_development_dependency 'gh-style'

And then run:

$ bundle install

Usage

Create a .rubocop.yml with the following directives:

inherit_gem:
  gh-style:
    - default.yml

Now, run:

$ bundle exec rubocop

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published