]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Revert "Move AMS gateway to tabaluga"
[chef.git] / .rubocop.yml
index dfd51c01e2c089ba5a6a7130a5fff9528eaf3bd6..d3e607a069bb15bf76870686de76ac7f54dd2cbc 100644 (file)
@@ -1,27 +1,29 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 3.1
 
-Layout/AlignParameters:
-  Exclude:
-    - '**/metadata.rb'
+Chef/Modernize/IncludingAptDefaultRecipe:
+  Enabled: false
+  
+Chef/Modernize/CronDFileOrTemplate:
+  Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
-Layout/IndentHeredoc:
-  EnforcedStyle: squiggly
+Layout/HeredocIndentation:
+  Enabled: true
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
-Style/IfUnlessModifier:
-  Enabled: false
-
 Style/NumericPredicate:
   EnforcedStyle: predicate