X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..68f69b89af040efd991ce55878ee90d7198e99e7:/config/initializers/eslint.rb diff --git a/config/initializers/eslint.rb b/config/initializers/eslint.rb index 9d805eafb..9ddf4916e 100644 --- a/config/initializers/eslint.rb +++ b/config/initializers/eslint.rb @@ -3,7 +3,7 @@ if defined?(ESLintRails::Runner) module ESLintRails module ExcludeI18n def assets - super.reject { |a| a.to_s =~ %r{/i18n/} } + super.reject { |a| a.to_s.include?("/i18n/") } end end end