Sha256: cffc4410905436229d580c9a1aee37a327daea57d6a873e0704e41eece9ed0e6
Contents?: true
Size: 770 Bytes
Versions: 11
Compression:
Stored size: 770 Bytes
Contents
# Freistil::Rubocop This gem contains the shared Rubocop style definitions for the freistil IT team. ## Installation Add this line to your application's Gemfile: ```ruby group :test, :development do gem 'freistil-rubocop' end ``` Or, for a Ruby library, add this to your gemspec: ```ruby spec.add_development_dependency 'freistil-rubocop' ``` And then run: ```bash bundle install ``` ## Usage Create a `.rubocop.yml` with the following directives: ```yaml inherit_gem: freistil-rubocop: - default.yml ``` Now, run: ```bash bundle exec rubocop ``` You do not need to include rubocop directly in your application's dependencies. freistil-rubocop will include a specific version of `rubocop` and `rubocop-rspec` that is shared across all our projects.
Version data entries
11 entries across 11 versions & 1 rubygems