]> git.openstreetmap.org Git - rails.git/commitdiff
Require plugins in .rubocop_todo.yml
authorTom Hughes <tom@compton.nu>
Sun, 22 Dec 2019 12:48:05 +0000 (12:48 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 22 Dec 2019 12:48:05 +0000 (12:48 +0000)
Fixes #2472

.rubocop_todo.yml

index c1923e9829983578f92dee99beb8e7fd37cf7e86..06a9c76f07b2ac4dcf2752113aa2cfee8dc5f45b 100644 (file)
@@ -6,6 +6,12 @@
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
+# Work around erblint issues.
+# https://github.com/openstreetmap/openstreetmap-website/issues/2472
+require:
+  - rubocop-performance
+  - rubocop-rails
+
 # Offense count: 3338
 # Cop supports --auto-correct.
 # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.