paper-trail-gem--paper_trail/.rubocop.yml

34 lines
716 B
YAML
Raw Normal View History

inherit_from: .rubocop_todo.yml
2015-11-02 02:33:16 +00:00
AllCops:
Include:
- 'lib/**/*.rb'
- 'paper_trail.gemspec'
- 'Gemfile'
- 'Rakefile'
Exclude:
- 'spec/**/*'
- 'test/**/*'
RunRailsCops: false
DisplayCopNames: true
DisplayStyleGuide: true
StyleGuideCopsOnly: false
2015-11-28 04:37:29 +00: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