[openstreetmap/openstreetmap-website] Enable erb-no-instance-variables-in-partials lint rule (PR #6921)

Tom Hughes notifications at github.com
Tue Mar 24 18:09:37 UTC 2026


@tomhughes commented on this pull request.



> @@ -1,20 +1,20 @@
-<%# locals: () %>
+<%# locals: (user:, languages: nil) %>

It was slightly more involved than that because the controller doesn't always set `@languages` so sometimes an explicit `nil` was being passed in.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6921#discussion_r2983424132
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6921/review/4001306353 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260324/eaaf5e2b/attachment.htm>


More information about the rails-dev mailing list