Revision 30fc0238c1c906d426e8f57955c9572efb225c66 authored by Gilles Dubuc on 13 June 2017, 13:10:11 UTC, committed by Gilles Dubuc on 13 June 2017, 13:10:43 UTC
Bug: T167782 Change-Id: I6c89dc205ffab90856061fae6a61326900bfe853
1 parent e892d1e
.rubocop.yml
inherit_from: .rubocop_todo.yml
# Copied from
# https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_configuration
AllCops:
StyleGuideCopsOnly: true
Exclude:
# not a Ruby script
- 'modules/smokeping/files/smokeping.fcgi'
# third party modules
- 'modules/mysql/**/*'
- 'modules/rsync/**/*'
- 'modules/stdlib/**/*'
- 'modules/puppetdbquery/**/*'
- 'modules/lvm/**/*'
# bundler installation files
- 'vendor/**/*'
# Uncomment when lines are 100 characters or less
# Metrics/LineLength:
# Max: 100
Metrics/MethodLength:
Enabled: false
Style/Alias:
Enabled: false
# Let us whatever delimiters we want eg: %{One Two} or %r%/tmp%
Style/PercentLiteralDelimiters:
Enabled: false
Style/SignalException:
Enabled: false
Style/StringLiterals:
EnforcedStyle: single_quotes
Style/TrivialAccessors:
ExactNameMatch: true
Style/WordArray:
Enabled: false
Computing file changes ...