From d3ab5c3ee86a3e36aa1d0c064d89c33224789064 Mon Sep 17 00:00:00 2001 From: Gabriel Nagy Date: Fri, 1 Oct 2021 11:39:35 +0300 Subject: (MODULES-11197) Use correct cop names --- .rubocop.yml | 21 ++++++++------------- .sync.yml | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ac0ebd8..4416e78 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -21,6 +21,7 @@ AllCops: Layout/LineLength: Description: People have wide screens, use them. Max: 200 + Enabled: false RSpec/BeforeAfterAll: Description: Beware of using after(:all) as it may cause state to leak between tests. A necessary evil in acceptance testing. @@ -73,21 +74,19 @@ Style/SymbolArray: EnforcedStyle: brackets Style/SignalException: Enabled: false -Layout/HeredocIndentation: - Enabled: false -Metrics/BlockNesting: - Enabled: false -Metrics/LineLength: - Enabled: false -Style/AccessorMethodName: - Enabled: false Style/DoubleNegation: Enabled: false Style/MultipleComparison: Enabled: false Style/NumericPredicate: Enabled: false -Style/PredicateName: +Layout/HeredocIndentation: + Enabled: false +Metrics/BlockNesting: + Enabled: false +Naming/AccessorMethodName: + Enabled: false +Naming/PredicateName: Enabled: false RSpec/VariableName: Enabled: false @@ -161,8 +160,6 @@ Layout/FirstArgumentIndentation: Enabled: false Layout/HashAlignment: Enabled: false -Layout/HeredocIndentation: - Enabled: false Layout/LeadingEmptyLines: Enabled: false Layout/SpaceAroundMethodCallOperator: @@ -275,8 +272,6 @@ Metrics/PerceivedComplexity: Enabled: false Migration/DepartmentName: Enabled: false -Naming/AccessorMethodName: - Enabled: false Naming/BlockParameterName: Enabled: false Naming/HeredocDelimiterCase: diff --git a/.sync.yml b/.sync.yml index 5badaa2..ff66415 100644 --- a/.sync.yml +++ b/.sync.yml @@ -2,25 +2,25 @@ default_configs: Style/SignalException: Enabled: false - Layout/IndentHeredoc: + Style/DoubleNegation: Enabled: false - Metrics/BlockNesting: + Style/MultipleComparison: Enabled: false - Metrics/LineLength: + Style/NumericPredicate: Enabled: false - Style/AccessorMethodName: + Style/SignalException: Enabled: false - Style/DoubleNegation: + Layout/HeredocIndentation: Enabled: false - Style/MultipleComparison: + Layout/LineLength: Enabled: false - Style/NumericPredicate: + Metrics/BlockNesting: Enabled: false - Style/PredicateName: + Naming/AccessorMethodName: Enabled: false - Style/SignalException: + Naming/PredicateName: Enabled: false - Style/VariableName: + RSpec/VariableName: Enabled: false Gemfile: optional: -- cgit v1.2.3