]> git.openstreetmap.org Git - rails.git/blob - config/initializers/eslint.rb
Don't highlight border when hovering on user-menu button
[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 =~ %r{/i18n/} }
7         end
8       end
9     end
10   end
11
12   ESLintRails::Runner.prepend(OpenStreetMap::ESLintRails::ExcludeI18n)
13 end