Sha256: edb1f51ff1bb84b2fdfb20500addec6aa4e5b5f540f191894ecf9a4b5944f3cd
Contents?: true
Size: 1006 Bytes
Versions: 15
Compression:
Stored size: 1006 Bytes
Contents
# AroundhomeCops This repository hosts our configuration gem for rubocop. The configuration provided here is intended to apply to all of our projects. Your application might have special rules of its own, which you can freely override in your local configuration. But if you think a rule is of general relevance, that it should probably live here. ## Usage Include this gem in your Gemfile: ```ruby gem 'aroundhome_cops' ``` Let your `.rubocop.yml` inherit from this gem: ```yml inherit_gem: aroundhome_cops: - default.yml ``` ## Customizing rules The snippet above is everything needed to use this configuration as default. Starting from there it is possible to make local changes to the configuration. Take this example `.rubocop.yml`: ```yml inherit_gem: aroundhome_cops: - default.yml # We still have unfixed offenses in some files inherit_from: .rubocop_todo.yml # This project agreed on a different line length than the rest of the company Metrics/LineLength: Max: 120 ```
Version data entries
15 entries across 15 versions & 1 rubygems