+# Work around erblint issues.
+# https://github.com/openstreetmap/openstreetmap-website/issues/2472
+require:
+ - rubocop-minitest
+ - rubocop-performance
+ - rubocop-rails
+ - rubocop-rake
+
+# Offense count: 524
+# Cop supports --auto-correct.
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
+Layout/LineLength:
+ Max: 270
+
+# Offense count: 62
+# Cop supports --auto-correct.
+Lint/AmbiguousOperatorPrecedence:
+ Exclude:
+ - 'app/controllers/geocoder_controller.rb'
+ - 'app/models/user.rb'
+ - 'lib/bounding_box.rb'
+ - 'lib/osm.rb'
+ - 'lib/rich_text.rb'
+ - 'lib/short_link.rb'
+ - 'test/controllers/api/old_nodes_controller_test.rb'
+ - 'test/lib/short_link_test.rb'
+