Commit 3e4a5d3b authored by Vitaly Slobodin's avatar Vitaly Slobodin

Remove redundant require-i18n-strings for mailto

They are no longer required with eslint-config@11.0.0
parent cf10fcbf
...@@ -27,8 +27,6 @@ export default { ...@@ -27,8 +27,6 @@ export default {
return this.adminUserPath.replace('id', this.user.username); return this.adminUserPath.replace('id', this.user.username);
}, },
adminUserMailto() { adminUserMailto() {
// NOTE: 'mailto:' is a false positive: https://gitlab.com/gitlab-org/frontend/eslint-plugin-i18n/issues/26#possible-false-positives
// eslint-disable-next-line @gitlab/require-i18n-strings
return `mailto:${this.user.email}`; return `mailto:${this.user.email}`;
}, },
userNoteShort() { userNoteShort() {
......
...@@ -72,8 +72,6 @@ export default { ...@@ -72,8 +72,6 @@ export default {
return this.author.id ? this.author.id : ''; return this.author.id ? this.author.id : '';
}, },
authorUrl() { authorUrl() {
// name: 'mailto:' is a false positive: https://gitlab.com/gitlab-org/frontend/eslint-plugin-i18n/issues/26#possible-false-positives
// eslint-disable-next-line @gitlab/require-i18n-strings
return this.author.web_url || `mailto:${this.commit.author_email}`; return this.author.web_url || `mailto:${this.commit.author_email}`;
}, },
authorAvatar() { authorAvatar() {
......
...@@ -22,7 +22,6 @@ export default { ...@@ -22,7 +22,6 @@ export default {
return this.commit?.message; return this.commit?.message;
}, },
commitAuthorPath() { commitAuthorPath() {
// eslint-disable-next-line @gitlab/require-i18n-strings
return this.commit?.author?.path || `mailto:${escape(this.commit?.authorEmail)}`; return this.commit?.author?.path || `mailto:${escape(this.commit?.authorEmail)}`;
}, },
commitAuthorAvatar() { commitAuthorAvatar() {
......
...@@ -65,7 +65,6 @@ export default { ...@@ -65,7 +65,6 @@ export default {
const body = sprintf(__('Enter the %{name} description'), { const body = sprintf(__('Enter the %{name} description'), {
name: this.issuableName, name: this.issuableName,
}); });
// eslint-disable-next-line @gitlab/require-i18n-strings
return `mailto:${this.email}?subject=${subject}&body=${body}`; return `mailto:${this.email}?subject=${subject}&body=${body}`;
}, },
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment