aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Nagy <gabriel.nagy@puppet.com>2021-10-01 11:39:35 +0300
committerGabriel Nagy <gabriel.nagy@puppet.com>2021-10-01 11:39:35 +0300
commitd3ab5c3ee86a3e36aa1d0c064d89c33224789064 (patch)
tree35c4be20f4159a0aa29f1dbc496e45f8d47949e7
parente764dc27e0dbeccd36d3d9d11bebc25f8cb39e3a (diff)
downloadpuppet-augeas_core-d3ab5c3ee86a3e36aa1d0c064d89c33224789064.tar.gz
puppet-augeas_core-d3ab5c3ee86a3e36aa1d0c064d89c33224789064.tar.bz2
(MODULES-11197) Use correct cop names
-rw-r--r--.rubocop.yml21
-rw-r--r--.sync.yml20
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: