https://github.com/wikimedia/operations-puppet
Raw File
Tip revision: c2f5cc6195105cc5661b08d2b4640a331e57b642 authored by Filippo Giunchedi on 28 October 2015, 14:11:52 UTC
cassandra: unblacklist 'max' metric
Tip revision: c2f5cc6
.rubocop.yml
inherit_from: .rubocop_todo.yml

# Copied from
# https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_configuration

AllCops:
  StyleGuideCopsOnly: true
  Exclude:
    # third party modules
    - 'modules/mysql/**/*'
    - 'modules/rsync/**/*'
    - 'modules/stdlib/**/*'
    # bundler installation files
    - 'vendor/**/*'

# Uncomment when lines are 100 characters or less
# Metrics/LineLength:
#   Max: 100

Metrics/MethodLength:
  Enabled: false

Style/Alias:
  Enabled: false

Style/SignalException:
  Enabled: false

Style/StringLiterals:
  EnforcedStyle: single_quotes

Style/TrivialAccessors:
  ExactNameMatch: true
back to top