]> git.openstreetmap.org Git - rails.git/blob - config/initializers/eslint.rb
Bump osm-community-index from 5.7.1 to 5.8.0
[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