]> git.openstreetmap.org Git - rails.git/commit
Enable erb_lint hard coded string linter
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Dec 2025 11:06:18 +0000 (11:06 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 7 Jan 2026 16:06:43 +0000 (16:06 +0000)
commit82a4afa571cf85bd6a7f10c5106a1bbbea2948f7
tree5e248d896b5fd958748e9d4218bca521edf63174
parentb28596b1332942a07d57928c79e45f7739020272
Enable erb_lint hard coded string linter

The implementation uses a customised linter, to add `&middot;` to the
list of punctuation that doesn't need translating.

We can remove our customised linter when this list becomes a config option,
see https://github.com/Shopify/erb_lint/pull/397
.erb_lint.yml
.erb_linters/custom_hard_coded_string.rb [new file with mode: 0644]
app/views/share_panes/show.html.erb