[openstreetmap/openstreetmap-website] Ignore the block length of the routes (#2250)

Andy Allan notifications at github.com
Wed Jun 5 14:32:30 UTC 2019


Since the routes are more of a dsl than code, we've been happy to repeatedly bump up this number. But then that hides other code which has over-long block lengths hiding behind.

So instead let's exclude the routes from this metric.

Also, I keep getting failed travis builds due to this, so it's self-interested :-)
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2250

-- Commit Summary --

  * Ignore the block length of the routes

-- File Changes --

    M .rubocop.yml (4)
    M .rubocop_todo.yml (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2250.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2250.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2250
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190605/cdc83c20/attachment.html>


More information about the rails-dev mailing list