Remove translatewiki access to git.osm.org
[chef.git] / .rubocop.yml
index 2219d6ec67ec53c4270a3eac6b94b8996b644936..07985407d1cf89d05b7de06242a8b9c020d7f26b 100644 (file)
@@ -1,12 +1,18 @@
 inherit_from: .rubocop_todo.yml
 
 inherit_from: .rubocop_todo.yml
 
-Style/AlignParameters:
+AllCops:
+  TargetRubyVersion: 2.3
+
+Layout/AlignParameters:
   Exclude:
     - '**/metadata.rb'
 
   Exclude:
     - '**/metadata.rb'
 
-Style/ExtraSpacing:
+Layout/ExtraSpacing:
   AllowForAlignment: true
 
   AllowForAlignment: true
 
+Layout/IndentHeredoc:
+  EnforcedStyle: squiggly
+
 Style/FileName:
   Exclude:
     - 'cookbooks/trac/files/default/trac-authenticate'
 Style/FileName:
   Exclude:
     - 'cookbooks/trac/files/default/trac-authenticate'
@@ -15,12 +21,14 @@ Style/FileName:
     - 'hooks/*'
     - 'roles/*.rb'
 
     - 'hooks/*'
     - 'roles/*.rb'
 
+Style/FrozenStringLiteralComment:
+  EnforcedStyle: never
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
-Style/SingleSpaceBeforeFirstArg:
-  Exclude:
-    - '**/metadata.rb'
-
 Style/StringLiterals:
   EnforcedStyle: double_quotes
 Style/StringLiterals:
   EnforcedStyle: double_quotes
+
+Style/SymbolArray:
+  EnforcedStyle: brackets