diff options
author | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-06-13 22:15:25 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-06-13 22:15:25 +0300 |
commit | 3d8163dcf6070a9e73fa1e8e31a65375ff5770d2 (patch) | |
tree | a4958573eccc885abde1fd924b559c5eca6eacc7 /app/assets/javascripts/repository/utils | |
parent | ea9fcebfdf2aff296d3176ae57b909849d036c0b (diff) |
Disable unnecessary ESLint i18n offences
Unnecessary offences include false positives as well as flagged
errors which have follow up issues in order to be addressed.
Not all issues have been addressed before this being submitted
in the spirit of results and iteration.
Diffstat (limited to 'app/assets/javascripts/repository/utils')
-rw-r--r-- | app/assets/javascripts/repository/utils/title.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/repository/utils/title.js b/app/assets/javascripts/repository/utils/title.js index 4e194640e92..87d54c01200 100644 --- a/app/assets/javascripts/repository/utils/title.js +++ b/app/assets/javascripts/repository/utils/title.js @@ -5,5 +5,6 @@ export const setTitle = (pathMatch, ref, project) => { const path = pathMatch.replace(/^\//, ''); const isEmpty = path === ''; + /* eslint-disable-next-line @gitlab/i18n/no-non-i18n-strings */ document.title = `${isEmpty ? 'Files' : path} · ${ref} · ${project}`; }; |