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.