Add outer variable shadowing to rubocop_todo.yml
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 7 Sep 2016 10:06:27 +0000 (11:06 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 7 Sep 2016 10:06:27 +0000 (11:06 +0100)
.rubocop_todo.yml

index 927f4078070ae9d2794dc30daf88973a9bf404f8..09898a47a987197240ab98363c5c6a5f0894c41c 100644 (file)
@@ -43,6 +43,11 @@ Lint/HandleExceptions:
     - 'app/controllers/user_controller.rb'
     - 'config/initializers/session.rb'
 
+# Offense count: 2
+Lint/ShadowingOuterLocalVariable:
+  Exclude:
+    - 'app/views/changeset/list.atom.builder'
+
 # Offense count: 616
 Metrics/AbcSize:
   Max: 277