Sha256: 6a3e4e96f4c481e525d12f925b31dbb0861e301f9319b2233d4a90c57f821cff
Contents?: true
Size: 761 Bytes
Versions: 2
Compression:
Stored size: 761 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. Percy-style will include a specific version of `rubocop` and `rubocop-rspec` that is shared across all projects.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
freistil-rubocop-0.1.1 | README.md |
freistil-rubocop-0.1.0 | README.md |