1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00

Lint: Disable Style/BlockDelimiters

This commit is contained in:
Jared Beck 2016-01-18 14:27:07 -05:00
parent 7b1fa5430e
commit c97eb17045
2 changed files with 5 additions and 9 deletions

View file

@ -17,6 +17,11 @@ AllCops:
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
# Please use semantic style, e.g. `do` when there's a side-effect, else `{}`.
# The semantic style is too nuanced to lint, so the cop is disabled.
Style/BlockDelimiters:
Enabled: false
Style/DotPosition:
EnforcedStyle: trailing

View file

@ -83,15 +83,6 @@ Style/AndOr:
Exclude:
- 'lib/paper_trail/has_paper_trail.rb'
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
Style/BlockDelimiters:
Exclude:
- 'doc/bug_report_template.rb'
- 'lib/paper_trail/has_paper_trail.rb'
- 'lib/paper_trail/reifier.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.