1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00

Rubocop: re-enable rules with no issues

There are no violations of these and there doesn't seem to be any
particular reason to disable these rules.

One reason to have as few exceptions as possible is that it insulates us
from future changes to cop names and attributes.
This commit is contained in:
Duncan Stuart 2019-08-12 14:36:12 +02:00
parent 19b2613e7a
commit e4ed3ecba8

View file

@ -42,12 +42,6 @@ Style/StringLiterals:
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Layout/ClosingParenthesisIndentation:
Enabled: false
Style/OneLineConditional:
Enabled: false
Style/AndOr:
Enabled: false
@ -75,20 +69,8 @@ Style/PercentLiteralDelimiters:
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Style/SignalException:
Enabled: false
Layout/IndentationWidth:
Enabled: false
Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Layout/DefEndAlignment:
Enabled: false
Lint/HandleExceptions:
Enabled: false
Style/DoubleNegation:
Enabled: false