From 0f7f8a0b0df16e48de5ef74dc6e1b8025aa76aa7 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 4 Aug 2020 13:44:34 -0500 Subject: [Linting] Add missing validators to Rubocop config --- .rubocop.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 25e0fa940..e8f1bc3f4 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -140,3 +140,46 @@ Style/TrailingCommaInArrayLiteral: Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: 'comma' + +Layout/EmptyLinesAroundAttributeAccessor: + Enabled: true + +Layout/SpaceAroundMethodCallOperator: + Enabled: true + +Lint/DeprecatedOpenSSLConstant: + Enabled: true + +Lint/MixedRegexpCaptureTypes: + Enabled: true + +Lint/RaiseException: + Enabled: true + +Lint/StructNewOverride: + Enabled: true + +Style/ExponentialNotation: + Enabled: true + +Style/HashEachMethods: + Enabled: true + +Style/HashTransformKeys: + Enabled: true + +Style/HashTransformValues: + Enabled: true + +Style/RedundantFetchBlock: + Enabled: true + +Style/RedundantRegexpCharacterClass: + Enabled: true + +Style/RedundantRegexpEscape: + Enabled: true + +Style/SlicingWithRange: + Enabled: true + -- cgit