Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3e4a5d3b
Commit
3e4a5d3b
authored
Jan 30, 2022
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant require-i18n-strings for mailto
They are no longer required with eslint-config@11.0.0
parent
cf10fcbf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
6 deletions
+0
-6
app/assets/javascripts/admin/users/components/user_avatar.vue
...assets/javascripts/admin/users/components/user_avatar.vue
+0
-2
app/assets/javascripts/diffs/components/commit_item.vue
app/assets/javascripts/diffs/components/commit_item.vue
+0
-2
app/assets/javascripts/environments/components/commit.vue
app/assets/javascripts/environments/components/commit.vue
+0
-1
app/assets/javascripts/issuable/components/issuable_by_email.vue
...ets/javascripts/issuable/components/issuable_by_email.vue
+0
-1
No files found.
app/assets/javascripts/admin/users/components/user_avatar.vue
View file @
3e4a5d3b
...
...
@@ -27,8 +27,6 @@ export default {
return
this
.
adminUserPath
.
replace
(
'
id
'
,
this
.
user
.
username
);
},
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
}
`
;
},
userNoteShort
()
{
...
...
app/assets/javascripts/diffs/components/commit_item.vue
View file @
3e4a5d3b
...
...
@@ -72,8 +72,6 @@ export default {
return
this
.
author
.
id
?
this
.
author
.
id
:
''
;
},
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
}
`
;
},
authorAvatar
()
{
...
...
app/assets/javascripts/environments/components/commit.vue
View file @
3e4a5d3b
...
...
@@ -22,7 +22,6 @@ export default {
return
this
.
commit
?.
message
;
},
commitAuthorPath
()
{
// eslint-disable-next-line @gitlab/require-i18n-strings
return
this
.
commit
?.
author
?.
path
||
`mailto:
${
escape
(
this
.
commit
?.
authorEmail
)}
`;
},
commitAuthorAvatar() {
...
...
app/assets/javascripts/issuable/components/issuable_by_email.vue
View file @
3e4a5d3b
...
...
@@ -65,7 +65,6 @@ export default {
const
body
=
sprintf
(
__
(
'
Enter the %{name} description
'
),
{
name
:
this
.
issuableName
,
});
// eslint-disable-next-line @gitlab/require-i18n-strings
return
`mailto:
${
this
.
email
}
?subject=
${
subject
}
&body=
${
body
}
`
;
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment