]> git.openstreetmap.org Git - rails.git/blob - config/initializers/eslint.rb
Removed unused translations from Traces namespace
[rails.git] / config / initializers / eslint.rb
1 if defined?(ESLintRails::Runner)
2   module OpenStreetMap
3     module ESLintRails
4       module ExcludeI18n
5         def assets
6           super.reject { |a| a.to_s.include?("/i18n/") }
7         end
8       end
9     end
10   end
11
12   ESLintRails::Runner.prepend(OpenStreetMap::ESLintRails::ExcludeI18n)
13 end