13 lines
292 B
Ruby
13 lines
292 B
Ruby
if defined?(ESLintRails::Runner)
|
|
module OpenStreetMap
|
|
module ESLintRails
|
|
module ExcludeI18n
|
|
def assets
|
|
super.reject { |a| a.to_s.include?("/i18n/") }
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
ESLintRails::Runner.prepend(OpenStreetMap::ESLintRails::ExcludeI18n)
|
|
end
|