[openstreetmap/openstreetmap-website] Enable erb_lint hard coded string linter (PR #6686)

Andy Allan notifications at github.com
Thu Jan 8 09:25:56 UTC 2026


@gravitystorm commented on this pull request.



> @@ -0,0 +1,50 @@
+# frozen_string_literal: true
+
+require "better_html/tree/tag"
+require "active_support/core_ext/string/inflections"
+
+module ERBLint
+  module Linters
+    # A customised version of the HardCodedString linter, adding `·` as not needing translation

We're only adding `·` as the only customisation of this linter, the rest are from the upstream source code.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6686/review/3638547040 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260108/6f87e2cd/attachment.htm>


More information about the rails-dev mailing list