[openstreetmap/openstreetmap-website] Enable erb_lint hard coded string linter (PR #6686)
Marwin Hochfelsner
notifications at github.com
Wed Jan 7 19:13:03 UTC 2026
@hlfan 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 not just adding `·` here, but more HTML escape sequences.
```suggestion
# A customised version of the HardCodedString linter, adding HTML escape sequences as not needing translation
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6686#pullrequestreview-3636432979
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6686/review/3636432979 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260107/210cbc36/attachment-0001.htm>
More information about the rails-dev
mailing list