2015-11-27 21:16:37 -05:00
|
|
|
inherit_from: .rubocop_todo.yml
|
|
|
|
|
2015-11-01 21:33:16 -05:00
|
|
|
AllCops:
|
|
|
|
Include:
|
|
|
|
- 'lib/**/*.rb'
|
|
|
|
- 'paper_trail.gemspec'
|
|
|
|
- 'Gemfile'
|
|
|
|
- 'Rakefile'
|
|
|
|
Exclude:
|
|
|
|
- 'spec/**/*'
|
|
|
|
- 'test/**/*'
|
|
|
|
RunRailsCops: false
|
|
|
|
DisplayCopNames: true
|
|
|
|
DisplayStyleGuide: true
|
|
|
|
StyleGuideCopsOnly: false
|
2015-11-27 23:37:29 -05:00
|
|
|
|
|
|
|
Style/AlignParameters:
|
|
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
|
|
|
|
Style/DotPosition:
|
|
|
|
EnforcedStyle: trailing
|
|
|
|
|
|
|
|
# The Ruby Style Guide says:
|
|
|
|
#
|
|
|
|
# > Use \ instead of + or << to concatenate two string literals at line end.
|
|
|
|
#
|
|
|
|
# but in my experience the `\` style is rarely used and less readable. Please
|
|
|
|
# concatenate multiline strings with `+` or use a HEREDOC.
|
|
|
|
Style/LineEndConcatenation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/LineLength:
|
|
|
|
Max: 100
|