Sha256: c3e0457215df99df2f1090bc3e0109019c1069efb6e4bd83b424f15316df191f
Contents?: true
Size: 1.25 KB
Versions: 2
Compression:
Stored size: 1.25 KB
Contents
[](https://badge.fury.io/rb/theforeman-rubocop) # theforeman-rubocop  Set of RuboCop styles for [Foreman](https://theforeman.org) and its plugins. ## Introduction As we are one organization and almost one project, it would be nice to keep the similar standards for code quality. Instead of defining the rules for plugin per plugin, plugins can include defaults from this gem. ## Usage ```ruby # Gemfile gem 'theforeman-rubocop', '~> 0.0.2' ``` And configure in the `.rubocop.yml`. ### Easiest config - get all ```yaml inherit_gem: theforeman-rubocop: - all.yml ``` ### Basic style and performance cops ```yaml inherit_gem: theforeman-rubocop: - all.yml ``` ### All cops, including newly introduced ones ```yaml inherit_gem: theforeman-rubocop: - edge.yml ``` ### Choose just some cops Cops are splited in categories for your convenience, so you can opt-out some cops. .rubocop.yml ```yaml inherit_gem: theforeman-rubocop: - rules/style.yml - rules/ruby_target.yml - rules/performance.yml - rules/rails.yml - rules/minitest.yml AllCops: NewCops: disable ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
theforeman-rubocop-0.0.3 | README.md |
theforeman-rubocop-0.0.2 | README.md |