]> git.openstreetmap.org Git - rails.git/commitdiff
Drop eslint initialiser
authorTom Hughes <tom@compton.nu>
Sat, 8 Feb 2025 17:00:13 +0000 (17:00 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 8 Feb 2025 17:00:13 +0000 (17:00 +0000)
This was presumably required at some point but the i18n files seem
to pass eslint fine now and even if they didn't it would probably be
better to ignore them in the eslint config.

config/initializers/eslint.rb [deleted file]

diff --git a/config/initializers/eslint.rb b/config/initializers/eslint.rb
deleted file mode 100644 (file)
index 9ddf491..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-if defined?(ESLintRails::Runner)
-  module OpenStreetMap
-    module ESLintRails
-      module ExcludeI18n
-        def assets
-          super.reject { |a| a.to_s.include?("/i18n/") }
-        end
-      end
-    end
-  end
-
-  ESLintRails::Runner.prepend(OpenStreetMap::ESLintRails::ExcludeI18n)
-end