diff --git a/.rubocop.yml b/.rubocop.yml index 687a3d08..8bc96432 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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. diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 13ef5fbd..339d8637 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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.