]> git.openstreetmap.org Git - rails.git/blob - config/initializers/eslint.rb
Merge pull request #2427 from mmd-osm/patch/remove_expand_bbox
[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