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: Permit double negation

[ci skip]
This commit is contained in:
Jared Beck 2016-02-21 23:06:16 -05:00
parent 34ca79fb67
commit ee0b7a6709
2 changed files with 5 additions and 5 deletions

View file

@ -34,6 +34,11 @@ Style/BlockDelimiters:
Style/DotPosition:
EnforcedStyle: trailing
# Use double negation wherever it would otherwise be impractical to convert
# a value to an actual boolean.
Style/DoubleNegation:
Enabled: false
# The Ruby Style Guide says:
#
# > Use \ instead of + or << to concatenate two string literals at line end.

View file

@ -62,11 +62,6 @@ Style/ClassAndModuleChildren:
Style/Documentation:
Enabled: false
# Offense count: 4
Style/DoubleNegation:
Exclude:
- 'lib/paper_trail.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.