Fix rubocop warnings
[rails.git] / .rubocop.yml
index e99b88edc170bda2a77db1f824a8bb4ab55ee533..975457d9572a6670386e154be340781a44913299 100644 (file)
@@ -1,11 +1,12 @@
 inherit_from: .rubocop_todo.yml
 
+AllCops:
+  Include:
+    - '**/*.builder'
+
 Rails:
   Enabled: true
 
-Performance/RedundantMerge:
-  Enabled: false
-
 Style/BracesAroundHashParameters:
   EnforcedStyle: context_dependent
 
@@ -37,6 +38,5 @@ Style/HashSyntax:
 Style/StringLiterals:
   EnforcedStyle: double_quotes
 
-Style/WordArray:
-  Exclude:
-    - 'test/models/message_test.rb'
+Rails/HttpPositionalArguments:
+  Enabled: false