Skip to content

fix: rule require-i18n-strings reports mailto false positive

In GitLab, there are a few places in Vue where a mailto link (mailto:email@host.com) is constructed:

All of these get flagged as failing @gitlab/require-i18n-strings. Therefore, this MR attempts to fix these false-positives by adding a check that the string doesn’t start with mailto:.

I’d say it’s highly unlikely that an externalized string should start with mailto:. 🤔

Edited by Kev

Merge request reports