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
0e644116
Commit
0e644116
authored
Jun 16, 2018
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove all unused eslint-disable rules
parent
a0a05a05
Changes
94
Show whitespace changes
Inline
Side-by-side
Showing
94 changed files
with
99 additions
and
120 deletions
+99
-120
app/assets/javascripts/activities.js
app/assets/javascripts/activities.js
+1
-1
app/assets/javascripts/autosave.js
app/assets/javascripts/autosave.js
+1
-1
app/assets/javascripts/behaviors/markdown/copy_as_gfm.js
app/assets/javascripts/behaviors/markdown/copy_as_gfm.js
+1
-1
app/assets/javascripts/blob/pdf/index.js
app/assets/javascripts/blob/pdf/index.js
+0
-1
app/assets/javascripts/blob_edit/blob_bundle.js
app/assets/javascripts/blob_edit/blob_bundle.js
+1
-2
app/assets/javascripts/boards/components/board.js
app/assets/javascripts/boards/components/board.js
+1
-1
app/assets/javascripts/boards/components/board_delete.js
app/assets/javascripts/boards/components/board_delete.js
+1
-1
app/assets/javascripts/boards/components/board_sidebar.js
app/assets/javascripts/boards/components/board_sidebar.js
+1
-1
app/assets/javascripts/boards/components/new_list_dropdown.js
...assets/javascripts/boards/components/new_list_dropdown.js
+1
-1
app/assets/javascripts/boards/filtered_search_boards.js
app/assets/javascripts/boards/filtered_search_boards.js
+0
-1
app/assets/javascripts/boards/index.js
app/assets/javascripts/boards/index.js
+1
-1
app/assets/javascripts/boards/mixins/sortable_default_options.js
...ets/javascripts/boards/mixins/sortable_default_options.js
+0
-1
app/assets/javascripts/boards/models/issue.js
app/assets/javascripts/boards/models/issue.js
+1
-1
app/assets/javascripts/boards/models/list.js
app/assets/javascripts/boards/models/list.js
+1
-1
app/assets/javascripts/boards/models/milestone.js
app/assets/javascripts/boards/models/milestone.js
+0
-2
app/assets/javascripts/boards/stores/boards_store.js
app/assets/javascripts/boards/stores/boards_store.js
+1
-1
app/assets/javascripts/build_artifacts.js
app/assets/javascripts/build_artifacts.js
+1
-1
app/assets/javascripts/commit/image_file.js
app/assets/javascripts/commit/image_file.js
+2
-2
app/assets/javascripts/compare_autocomplete.js
app/assets/javascripts/compare_autocomplete.js
+1
-1
app/assets/javascripts/diff_notes/components/jump_to_discussion.js
...s/javascripts/diff_notes/components/jump_to_discussion.js
+2
-3
app/assets/javascripts/diff_notes/components/resolve_count.js
...assets/javascripts/diff_notes/components/resolve_count.js
+2
-3
app/assets/javascripts/diff_notes/components/resolve_discussion_btn.js
...vascripts/diff_notes/components/resolve_discussion_btn.js
+1
-1
app/assets/javascripts/diff_notes/diff_notes_bundle.js
app/assets/javascripts/diff_notes/diff_notes_bundle.js
+1
-1
app/assets/javascripts/diff_notes/mixins/discussion.js
app/assets/javascripts/diff_notes/mixins/discussion.js
+4
-2
app/assets/javascripts/diff_notes/models/discussion.js
app/assets/javascripts/diff_notes/models/discussion.js
+1
-1
app/assets/javascripts/diff_notes/models/note.js
app/assets/javascripts/diff_notes/models/note.js
+0
-2
app/assets/javascripts/diff_notes/stores/comments.js
app/assets/javascripts/diff_notes/stores/comments.js
+1
-1
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+1
-1
app/assets/javascripts/gl_dropdown.js
app/assets/javascripts/gl_dropdown.js
+1
-1
app/assets/javascripts/groups/components/app.vue
app/assets/javascripts/groups/components/app.vue
+0
-1
app/assets/javascripts/integrations/integration_settings_form.js
...ets/javascripts/integrations/integration_settings_form.js
+0
-1
app/assets/javascripts/issuable_bulk_update_actions.js
app/assets/javascripts/issuable_bulk_update_actions.js
+1
-1
app/assets/javascripts/issuable_form.js
app/assets/javascripts/issuable_form.js
+1
-1
app/assets/javascripts/issue.js
app/assets/javascripts/issue.js
+1
-1
app/assets/javascripts/label_manager.js
app/assets/javascripts/label_manager.js
+1
-1
app/assets/javascripts/labels_select.js
app/assets/javascripts/labels_select.js
+1
-1
app/assets/javascripts/lib/utils/notify.js
app/assets/javascripts/lib/utils/notify.js
+1
-1
app/assets/javascripts/lib/utils/text_markdown.js
app/assets/javascripts/lib/utils/text_markdown.js
+1
-1
app/assets/javascripts/line_highlighter.js
app/assets/javascripts/line_highlighter.js
+1
-1
app/assets/javascripts/merge_conflicts/components/diff_file_editor.js
...avascripts/merge_conflicts/components/diff_file_editor.js
+1
-1
app/assets/javascripts/merge_conflicts/components/parallel_conflict_lines.js
...pts/merge_conflicts/components/parallel_conflict_lines.js
+1
-1
app/assets/javascripts/merge_request.js
app/assets/javascripts/merge_request.js
+1
-1
app/assets/javascripts/milestone_select.js
app/assets/javascripts/milestone_select.js
+1
-1
app/assets/javascripts/namespace_select.js
app/assets/javascripts/namespace_select.js
+1
-1
app/assets/javascripts/network/branch_graph.js
app/assets/javascripts/network/branch_graph.js
+1
-1
app/assets/javascripts/new_branch_form.js
app/assets/javascripts/new_branch_form.js
+1
-1
app/assets/javascripts/new_commit_form.js
app/assets/javascripts/new_commit_form.js
+1
-1
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+7
-10
app/assets/javascripts/pages/dashboard/todos/index/todos.js
app/assets/javascripts/pages/dashboard/todos/index/todos.js
+1
-1
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors.js
...pts/pages/projects/graphs/show/stat_graph_contributors.js
+1
-1
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors_graph.js
...ges/projects/graphs/show/stat_graph_contributors_graph.js
+1
-1
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors_util.js
...ages/projects/graphs/show/stat_graph_contributors_util.js
+1
-1
app/assets/javascripts/pages/projects/init_blob.js
app/assets/javascripts/pages/projects/init_blob.js
+5
-3
app/assets/javascripts/pages/projects/network/network.js
app/assets/javascripts/pages/projects/network/network.js
+1
-1
app/assets/javascripts/pages/projects/project.js
app/assets/javascripts/pages/projects/project.js
+2
-1
app/assets/javascripts/pages/projects/settings/repository/form.js
...ts/javascripts/pages/projects/settings/repository/form.js
+2
-2
app/assets/javascripts/pages/sessions/new/index.js
app/assets/javascripts/pages/sessions/new/index.js
+2
-1
app/assets/javascripts/pages/sessions/new/oauth_remember_me.js
...ssets/javascripts/pages/sessions/new/oauth_remember_me.js
+0
-1
app/assets/javascripts/pages/sessions/new/username_validator.js
...sets/javascripts/pages/sessions/new/username_validator.js
+1
-1
app/assets/javascripts/preview_markdown.js
app/assets/javascripts/preview_markdown.js
+1
-1
app/assets/javascripts/profile/gl_crop.js
app/assets/javascripts/profile/gl_crop.js
+1
-1
app/assets/javascripts/profile/profile.js
app/assets/javascripts/profile/profile.js
+0
-3
app/assets/javascripts/project_find_file.js
app/assets/javascripts/project_find_file.js
+1
-1
app/assets/javascripts/project_select.js
app/assets/javascripts/project_select.js
+1
-1
app/assets/javascripts/right_sidebar.js
app/assets/javascripts/right_sidebar.js
+1
-1
app/assets/javascripts/search_autocomplete.js
app/assets/javascripts/search_autocomplete.js
+1
-1
app/assets/javascripts/sidebar/mount_sidebar.js
app/assets/javascripts/sidebar/mount_sidebar.js
+0
-1
app/assets/javascripts/single_file_diff.js
app/assets/javascripts/single_file_diff.js
+1
-1
app/assets/javascripts/syntax_highlight.js
app/assets/javascripts/syntax_highlight.js
+1
-1
app/assets/javascripts/tree.js
app/assets/javascripts/tree.js
+1
-1
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+1
-1
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue
...avascripts/vue_merge_request_widget/mr_widget_options.vue
+1
-1
app/assets/javascripts/vue_shared/vue_resource_interceptor.js
...assets/javascripts/vue_shared/vue_resource_interceptor.js
+1
-1
app/assets/javascripts/zen_mode.js
app/assets/javascripts/zen_mode.js
+1
-1
spec/javascripts/activities_spec.js
spec/javascripts/activities_spec.js
+1
-1
spec/javascripts/awards_handler_spec.js
spec/javascripts/awards_handler_spec.js
+1
-1
spec/javascripts/boards/boards_store_spec.js
spec/javascripts/boards/boards_store_spec.js
+1
-1
spec/javascripts/bootstrap_jquery_spec.js
spec/javascripts/bootstrap_jquery_spec.js
+1
-1
spec/javascripts/gl_dropdown_spec.js
spec/javascripts/gl_dropdown_spec.js
+1
-1
spec/javascripts/gl_field_errors_spec.js
spec/javascripts/gl_field_errors_spec.js
+1
-1
spec/javascripts/helpers/vue_resource_helper.js
spec/javascripts/helpers/vue_resource_helper.js
+0
-1
spec/javascripts/issuable_time_tracker_spec.js
spec/javascripts/issuable_time_tracker_spec.js
+1
-1
spec/javascripts/issue_spec.js
spec/javascripts/issue_spec.js
+1
-1
spec/javascripts/job_spec.js
spec/javascripts/job_spec.js
+0
-1
spec/javascripts/line_highlighter_spec.js
spec/javascripts/line_highlighter_spec.js
+1
-1
spec/javascripts/merge_request_spec.js
spec/javascripts/merge_request_spec.js
+1
-1
spec/javascripts/mini_pipeline_graph_dropdown_spec.js
spec/javascripts/mini_pipeline_graph_dropdown_spec.js
+0
-2
spec/javascripts/monitoring/mock_data.js
spec/javascripts/monitoring/mock_data.js
+0
-2
spec/javascripts/new_branch_spec.js
spec/javascripts/new_branch_spec.js
+1
-1
spec/javascripts/notes_spec.js
spec/javascripts/notes_spec.js
+1
-1
spec/javascripts/right_sidebar_spec.js
spec/javascripts/right_sidebar_spec.js
+1
-1
spec/javascripts/search_autocomplete_spec.js
spec/javascripts/search_autocomplete_spec.js
+1
-1
spec/javascripts/syntax_highlight_spec.js
spec/javascripts/syntax_highlight_spec.js
+1
-1
spec/javascripts/u2f/mock_u2f_device.js
spec/javascripts/u2f/mock_u2f_device.js
+1
-2
No files found.
app/assets/javascripts/activities.js
View file @
0e644116
/* eslint-disable
no-param-reassign,
class-methods-use-this */
/* eslint-disable class-methods-use-this */
import
$
from
'
jquery
'
;
import
Cookies
from
'
js-cookie
'
;
...
...
app/assets/javascripts/autosave.js
View file @
0e644116
/* eslint-disable no-param-reassign, prefer-template, no-v
ar, no-v
oid, consistent-return */
/* eslint-disable no-param-reassign, prefer-template, no-void, consistent-return */
import
AccessorUtilities
from
'
./lib/utils/accessor
'
;
...
...
app/assets/javascripts/behaviors/markdown/copy_as_gfm.js
View file @
0e644116
/* eslint-disable
class-methods-use-this, object-shorthand, no-unused-vars, no-use-before-define, no-new
, max-len, no-restricted-syntax, guard-for-in, no-continue */
/* eslint-disable
object-shorthand, no-unused-vars, no-use-before-define
, max-len, no-restricted-syntax, guard-for-in, no-continue */
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/blob/pdf/index.js
View file @
0e644116
/* eslint-disable no-new */
import
Vue
from
'
vue
'
;
import
pdfLab
from
'
../../pdf/index.vue
'
;
...
...
app/assets/javascripts/blob_edit/blob_bundle.js
View file @
0e644116
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, quotes, vars-on-top, no-unused-vars, no-new, max-len */
/* global EditBlob */
/* eslint-disable no-new */
import
$
from
'
jquery
'
;
import
NewCommitForm
from
'
../new_commit_form
'
;
...
...
app/assets/javascripts/boards/components/board.js
View file @
0e644116
/* eslint-disable comma-dangle
, space-before-function-paren, one-var
*/
/* eslint-disable comma-dangle */
import
Sortable
from
'
sortablejs
'
;
import
Vue
from
'
vue
'
;
...
...
app/assets/javascripts/boards/components/board_delete.js
View file @
0e644116
/* eslint-disable comma-dangle,
space-before-function-paren,
no-alert */
/* eslint-disable comma-dangle, no-alert */
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
...
...
app/assets/javascripts/boards/components/board_sidebar.js
View file @
0e644116
/* eslint-disable comma-dangle,
space-before-function-paren,
no-new */
/* eslint-disable comma-dangle, no-new */
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
...
...
app/assets/javascripts/boards/components/new_list_dropdown.js
View file @
0e644116
/* eslint-disable func-names, no-new,
space-before-function-paren, one-var, promise/catch-or-return, max-le
n */
/* eslint-disable func-names, no-new,
promise/catch-or-retur
n */
import
$
from
'
jquery
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
...
...
app/assets/javascripts/boards/filtered_search_boards.js
View file @
0e644116
/* eslint-disable class-methods-use-this */
import
FilteredSearchContainer
from
'
../filtered_search/container
'
;
import
FilteredSearchManager
from
'
../filtered_search/filtered_search_manager
'
;
...
...
app/assets/javascripts/boards/index.js
View file @
0e644116
/* eslint-disable
one-var, quote-props, comma-dangle, space-before-function-paren
*/
/* eslint-disable
quote-props, comma-dangle
*/
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/boards/mixins/sortable_default_options.js
View file @
0e644116
/* eslint-disable no-unused-vars, no-mixed-operators, comma-dangle */
/* global DocumentTouch */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/boards/models/issue.js
View file @
0e644116
/* eslint-disable no-unused-vars,
space-before-function-paren, arrow-body-style, arrow-parens, comma-dangle, max-len
*/
/* eslint-disable no-unused-vars,
comma-dangle
*/
/* global ListLabel */
/* global ListMilestone */
/* global ListAssignee */
...
...
app/assets/javascripts/boards/models/list.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len, no-unused-vars
*/
/* eslint-disable
no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len
*/
/* global ListIssue */
import
ListLabel
from
'
~/vue_shared/models/label
'
;
...
...
app/assets/javascripts/boards/models/milestone.js
View file @
0e644116
/* eslint-disable no-unused-vars */
class
ListMilestone
{
constructor
(
obj
)
{
this
.
id
=
obj
.
id
;
...
...
app/assets/javascripts/boards/stores/boards_store.js
View file @
0e644116
/* eslint-disable comma-dangle,
space-before-function-paren, one-var, no-shadow, dot-notation, max-len
*/
/* eslint-disable comma-dangle,
no-shadow
*/
/* global List */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/build_artifacts.js
View file @
0e644116
/* eslint-disable func-names, prefer-arrow-callback
, no-return-assign
*/
/* eslint-disable func-names, prefer-arrow-callback */
import
$
from
'
jquery
'
;
import
{
visitUrl
}
from
'
./lib/utils/url_utility
'
;
...
...
app/assets/javascripts/commit/image_file.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, wrap-iife, no-var, no-use-before-define, prefer-arrow-callback, no-else-return, consistent-return, prefer-template, quotes, one-var, one-var-declaration-per-line, no-unused-vars, no-return-assign, comma-dangle, quote-props, no-unused-expressions, no-sequences, object-shorthand
, max-len */
/* eslint-disable func-names,
wrap-iife, no-var, prefer-arrow-callback, no-else-return, consistent-return, prefer-template, quotes, one-var, one-var-declaration-per-line, no-unused-vars, no-return-assign, comma-dangle, quote-props, no-unused-expressions, no-sequences
, max-len */
import
$
from
'
jquery
'
;
...
...
@@ -95,7 +95,7 @@ export default class ImageFile {
});
return
[
maxWidth
,
maxHeight
];
}
// eslint-disable-next-line
views
=
{
'
two-up
'
:
function
()
{
return
$
(
'
.two-up.view .wrap
'
,
this
.
file
).
each
((
function
(
_this
)
{
...
...
app/assets/javascripts/compare_autocomplete.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, one-var, no-var, one-var-declaration-per-line, object-shorthand, comma-dangle, prefer-arrow-callback, no-else-return, newline-per-chained-call, wrap-iife
, max-len */
/* eslint-disable func-names,
one-var, no-var, one-var-declaration-per-line, object-shorthand, no-else-return
, max-len */
import
$
from
'
jquery
'
;
import
{
__
}
from
'
./locale
'
;
...
...
app/assets/javascripts/diff_notes/components/jump_to_discussion.js
View file @
0e644116
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, guard-for-in, no-restricted-syntax, one-var, space-before-function-paren, no-lonely-if, no-continue, brace-style, max-len, quotes */
/* global DiscussionMixins */
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, guard-for-in, no-restricted-syntax, no-lonely-if, no-continue, brace-style, max-len, quotes */
/* global CommentsStore */
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
import
'
../mixins/discussion
'
;
import
DiscussionMixins
from
'
../mixins/discussion
'
;
const
JumpToDiscussion
=
Vue
.
extend
({
mixins
:
[
DiscussionMixins
],
...
...
app/assets/javascripts/diff_notes/components/resolve_count.js
View file @
0e644116
/* eslint-disable comma-dangle, object-shorthand, func-names, no-param-reassign */
/* global DiscussionMixins */
/* eslint-disable comma-dangle, object-shorthand, func-names */
/* global CommentsStore */
import
Vue
from
'
vue
'
;
import
'
../mixins/discussion
'
;
import
DiscussionMixins
from
'
../mixins/discussion
'
;
window
.
ResolveCount
=
Vue
.
extend
({
mixins
:
[
DiscussionMixins
],
...
...
app/assets/javascripts/diff_notes/components/resolve_discussion_btn.js
View file @
0e644116
/* eslint-disable object-shorthand, func-names,
space-before-function-paren, comma-dangle, no-else-return, quotes, max-len
*/
/* eslint-disable object-shorthand, func-names,
comma-dangle, no-else-return, quotes
*/
/* global CommentsStore */
/* global ResolveService */
...
...
app/assets/javascripts/diff_notes/diff_notes_bundle.js
View file @
0e644116
/* eslint-disable func-names, comma-dangle, new-cap, no-new
, max-len
*/
/* eslint-disable func-names, comma-dangle, new-cap, no-new */
/* global ResolveCount */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/diff_notes/mixins/discussion.js
View file @
0e644116
/* eslint-disable object-shorthand, func-names, guard-for-in, no-restricted-syntax, comma-dangle,
no-param-reassign, max-len
*/
/* eslint-disable object-shorthand, func-names, guard-for-in, no-restricted-syntax, comma-dangle, */
window
.
DiscussionMixins
=
{
const
DiscussionMixins
=
{
computed
:
{
discussionCount
:
function
()
{
return
Object
.
keys
(
this
.
discussions
).
length
;
...
...
@@ -33,3 +33,5 @@ window.DiscussionMixins = {
}
}
};
export
default
DiscussionMixins
;
app/assets/javascripts/diff_notes/models/discussion.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, camelcase, guard-for-in, no-restricted-syntax, no-unused-vars, max-len
*/
/* eslint-disable
camelcase, guard-for-in, no-restricted-syntax
*/
/* global NoteModel */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/diff_notes/models/note.js
View file @
0e644116
/* eslint-disable camelcase, no-unused-vars */
class
NoteModel
{
constructor
(
discussionId
,
noteObj
)
{
this
.
discussionId
=
discussionId
;
...
...
app/assets/javascripts/diff_notes/stores/comments.js
View file @
0e644116
/* eslint-disable object-shorthand, func-names, camelcase, no-restricted-syntax, guard-for-in, comma-dangle, max-len
, no-param-reassign
*/
/* eslint-disable object-shorthand, func-names, camelcase, no-restricted-syntax, guard-for-in, comma-dangle, max-len */
/* global DiscussionModel */
import
Vue
from
'
vue
'
;
...
...
app/assets/javascripts/dispatcher.js
View file @
0e644116
/* eslint-disable
func-names, space-before-function-paren, no-var, prefer-arrow-callback, wrap-iife, no-shadow, consistent-return, one-var, one-var-declaration-per-line, camelcase, default-case, no-new, quotes, no-duplicate-case, no-case-declarations, no-fallthrough, max-len
*/
/* eslint-disable
consistent-return, no-new
*/
import
$
from
'
jquery
'
;
import
Flash
from
'
./flash
'
;
...
...
app/assets/javascripts/gl_dropdown.js
View file @
0e644116
/* eslint-disable func-names, no-underscore-dangle,
space-before-function-paren, no-var, one-var, one-var-declaration-per-line, prefer-rest-params, max-len, vars-on-top, wrap-iife, no-unused-vars, quotes, no-shadow, no-cond-assign, prefer-arrow-callback, no-return-assign, no-else-return, camelcase, comma-dangle, no-lonely-if, guard-for-in, no-restricted-syntax, consistent-return, prefer-template, no-param-reassign, no-loop-func, no-mixed-operators
*/
/* eslint-disable func-names, no-underscore-dangle,
no-var, one-var, one-var-declaration-per-line, max-len, vars-on-top, wrap-iife, no-unused-vars, quotes, no-shadow, no-cond-assign, prefer-arrow-callback, no-return-assign, no-else-return, camelcase, comma-dangle, no-lonely-if, guard-for-in, no-restricted-syntax, consistent-return, prefer-template, no-param-reassign, no-loop-func
*/
/* global fuzzaldrinPlus */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/groups/components/app.vue
View file @
0e644116
...
...
@@ -148,7 +148,6 @@ export default {
if
(
!
parentGroup
.
isOpen
)
{
if
(
parentGroup
.
children
.
length
===
0
)
{
parentGroup
.
isChildrenLoading
=
true
;
// eslint-disable-next-line promise/catch-or-return
this
.
fetchGroups
({
parentId
:
parentGroup
.
id
,
})
...
...
app/assets/javascripts/integrations/integration_settings_form.js
View file @
0e644116
...
...
@@ -91,7 +91,6 @@ export default class IntegrationSettingsForm {
}
}
/* eslint-disable promise/catch-or-return, no-new */
/**
* Test Integration config
*/
...
...
app/assets/javascripts/issuable_bulk_update_actions.js
View file @
0e644116
/* eslint-disable comma-dangle, quotes, consistent-return, func-names, array-callback-return,
space-before-function-paren, prefer-arrow-callback, max-len, no-unused-expressions, no-sequences, no-underscore-dangle, no-unused-vars, no-param-reassign
*/
/* eslint-disable comma-dangle, quotes, consistent-return, func-names, array-callback-return,
prefer-arrow-callback, max-len, no-unused-vars
*/
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/issuable_form.js
View file @
0e644116
/* eslint-disable
func-names, prefer-rest-params, wrap-iife, no-use-before-define, no-useless-escape, no-new, object-shorthand, no-unused-vars, comma-dangle, no-alert, consistent-return, no-else-return, prefer-template, one-var, one-var-declaration-per-line, curly, max-le
n */
/* eslint-disable
no-new, no-unused-vars, consistent-return, no-else-retur
n */
/* global GitLab */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/issue.js
View file @
0e644116
/* eslint-disable
func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, one-var, no-underscore-dangle, one-var-declaration-per-line, object-shorthand, no-unused-vars, no-new, comma-dangle, consistent-return, quotes, dot-notation, quote-props, prefer-arrow-callback
, max-len */
/* eslint-disable
no-var, one-var, one-var-declaration-per-line, no-unused-vars, consistent-return, quotes
, max-len */
import
$
from
'
jquery
'
;
import
axios
from
'
./lib/utils/axios_utils
'
;
...
...
app/assets/javascripts/label_manager.js
View file @
0e644116
/* eslint-disable
comma-dangle, class-methods-use-this, no-underscore-dangle, no-param-reassign, no-unused-vars, consistent-return, func-names, space-before-function-paren
, max-len */
/* eslint-disable
class-methods-use-this, no-underscore-dangle, no-param-reassign, no-unused-vars, func-names
, max-len */
import
$
from
'
jquery
'
;
import
Sortable
from
'
sortablejs
'
;
...
...
app/assets/javascripts/labels_select.js
View file @
0e644116
/* eslint-disable no-useless-return, func-names,
space-before-function-paren, wrap-iife, no-var, no-underscore-dangle, prefer-arrow-callback, max-len, one-var, no-unused-vars, one-var-declaration-per-line, prefer-template, no-new, consistent-return, object-shorthand, comma-dangle, no-shadow, no-param-reassign, brace-style, vars-on-top, quotes, no-lonely-if, no-else-return, dot-notation, no-empty, no-return-assign, camelcase, prefer-spread
*/
/* eslint-disable no-useless-return, func-names,
no-var, no-underscore-dangle, prefer-arrow-callback, max-len, one-var, no-unused-vars, one-var-declaration-per-line, prefer-template, no-new, consistent-return, object-shorthand, comma-dangle, no-shadow, no-param-reassign, brace-style, vars-on-top, quotes, no-lonely-if, no-else-return, dot-notation, no-empty
*/
/* global Issuable */
/* global ListLabel */
...
...
app/assets/javascripts/lib/utils/notify.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, wrap-iife, no-var, one-var, one-var-declaration-per-line, consistent-return, prefer-arrow-callback, no-return-assign, object-shorthand, comma-dangle, no-param-reassign
, max-len */
/* eslint-disable func-names,
no-var, consistent-return, prefer-arrow-callback, no-return-assign, object-shorthand, comma-dangle
, max-len */
function
notificationGranted
(
message
,
opts
,
onclick
)
{
var
notification
;
...
...
app/assets/javascripts/lib/utils/text_markdown.js
View file @
0e644116
/* eslint-disable
import/prefer-default-export, func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, quotes, one-var, one-var-declaration-per-line, operator-assignment, no-else-return, prefer-template, prefer-arrow-callback, no-empty, max-len, consistent-return, no-unused-vars, no-return-assign, max-len, vars-on-top
*/
/* eslint-disable
func-names, no-var, no-param-reassign, quotes, one-var, one-var-declaration-per-line, operator-assignment, no-else-return, prefer-template, prefer-arrow-callback, max-len, consistent-return, no-unused-vars, max-len
*/
import
$
from
'
jquery
'
;
import
{
insertText
}
from
'
~/lib/utils/common_utils
'
;
...
...
app/assets/javascripts/line_highlighter.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, no-var, prefer-rest-params, wrap-iife, no-use-before-define, no-underscore-dangle, no-param-reassign, prefer-template, quotes, comma-dangle, prefer-arrow-callback
, consistent-return, one-var, one-var-declaration-per-line, no-else-return, max-len */
/* eslint-disable func-names,
no-var, no-underscore-dangle, no-param-reassign, prefer-template, quotes, comma-dangle
, consistent-return, one-var, one-var-declaration-per-line, no-else-return, max-len */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/merge_conflicts/components/diff_file_editor.js
View file @
0e644116
/* eslint-disable comma-dangle, quote-props, no-useless-computed-key, object-shorthand, no-
new, no-
param-reassign, max-len */
/* eslint-disable comma-dangle, quote-props, no-useless-computed-key, object-shorthand, no-param-reassign, max-len */
/* global ace */
import
Vue
from
'
vue
'
;
...
...
app/assets/javascripts/merge_conflicts/components/parallel_conflict_lines.js
View file @
0e644116
/* eslint-disable no-param-reassign
, comma-dangle
*/
/* eslint-disable no-param-reassign */
import
Vue
from
'
vue
'
;
import
actionsMixin
from
'
../mixins/line_conflict_actions
'
;
...
...
app/assets/javascripts/merge_request.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, no-var, prefer-rest-params, wrap-iife, quotes, no-underscore-dangle, one-var, one-var-declaration-per-line, consistent-return, dot-notation, quote-props, comma-dangle, object-shorthand
, max-len, prefer-arrow-callback */
/* eslint-disable func-names,
no-var, wrap-iife, quotes, no-underscore-dangle, one-var, one-var-declaration-per-line, consistent-return, comma-dangle
, max-len, prefer-arrow-callback */
import
$
from
'
jquery
'
;
import
{
__
}
from
'
~/locale
'
;
...
...
app/assets/javascripts/milestone_select.js
View file @
0e644116
/* eslint-disable
func-names, space-before-function-paren, wrap-iife, no-underscore-dangle, prefer-arrow-callback, max-len, one-var, one-var-declaration-per-line, no-unused-vars, object-shorthand, comma-dangle
, no-else-return, no-self-compare, consistent-return, no-param-reassign, no-shadow */
/* eslint-disable
max-len, one-var, one-var-declaration-per-line, no-unused-vars, object-shorthand
, no-else-return, no-self-compare, consistent-return, no-param-reassign, no-shadow */
/* global Issuable */
/* global ListMilestone */
...
...
app/assets/javascripts/namespace_select.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, no-var,
comma-dangle, object-shorthand, no-else-return, prefer-template, quotes, prefer-arrow-callback, max-len */
/* eslint-disable func-names, comma-dangle, object-shorthand, no-else-return, prefer-template, quotes, prefer-arrow-callback, max-len */
import
$
from
'
jquery
'
;
import
Api
from
'
./api
'
;
...
...
app/assets/javascripts/network/branch_graph.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, no-var, wrap-iife, quotes, comma-dangle, one-var, one-var-declaration-per-line, no-mixed-operators
, no-loop-func, no-floating-decimal, consistent-return, no-unused-vars, prefer-template, prefer-arrow-callback, camelcase, max-len */
/* eslint-disable func-names,
no-var, wrap-iife, quotes, comma-dangle, one-var, one-var-declaration-per-line
, no-loop-func, no-floating-decimal, consistent-return, no-unused-vars, prefer-template, prefer-arrow-callback, camelcase, max-len */
import
$
from
'
jquery
'
;
import
{
__
}
from
'
../locale
'
;
...
...
app/assets/javascripts/new_branch_form.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, no-var, one-var, prefer-rest-params, max-len, vars-on-top, wrap-iife, consistent-return, comma-dangle, one-var-declaration-per-line, quotes, no-return-assign, prefer-arrow-callback, prefer-template, no-shadow, no-else-return, max-len, object-shorthand
*/
/* eslint-disable func-names,
no-var, one-var, max-len, wrap-iife, consistent-return, comma-dangle, one-var-declaration-per-line, quotes, no-return-assign, prefer-arrow-callback, prefer-template, no-shadow, no-else-return, max-len
*/
import
$
from
'
jquery
'
;
import
RefSelectDropdown
from
'
./ref_select_dropdown
'
;
...
...
app/assets/javascripts/new_commit_form.js
View file @
0e644116
/* eslint-disable
func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, no-return-assign, max-le
n */
/* eslint-disable
no-var, no-return-assig
n */
export
default
class
NewCommitForm
{
constructor
(
form
)
{
this
.
form
=
form
;
...
...
app/assets/javascripts/notes.js
View file @
0e644116
/* eslint-disable no-restricted-properties, func-names, space-before-function-paren,
no-var, prefer-rest-params, wrap-iife, no-use-before-define, camelcase,
no-unused-expressions, quotes, max-len, one-var, one-var-declaration-per-line,
default-case, prefer-template, consistent-return, no-alert, no-return-assign,
no-param-reassign, prefer-arrow-callback, no-else-return, comma-dangle, no-new,
brace-style, no-lonely-if, vars-on-top, no-unused-vars, no-sequences, no-shadow,
newline-per-chained-call, no-useless-escape, class-methods-use-this */
/* eslint-disable no-restricted-properties, func-names, no-var, wrap-iife, camelcase,
no-unused-expressions, max-len, one-var, one-var-declaration-per-line, default-case,
prefer-template, consistent-return, no-alert, no-return-assign,
no-param-reassign, prefer-arrow-callback, no-else-return, vars-on-top,
no-unused-vars, no-shadow, no-useless-escape, class-methods-use-this */
/* global ResolveService */
/* global mrRefreshWidgetUrl */
...
...
@@ -784,6 +782,7 @@ export default class Notes {
}
updateNoteError
(
$parentTimeline
)
{
// eslint-disable-next-line no-new
new
Flash
(
'
Your comment could not be updated! Please check your network connection and try again.
'
,
);
...
...
@@ -1411,8 +1410,8 @@ export default class Notes {
static
renderPlaceholderComponent
(
$container
)
{
const
el
=
$container
.
find
(
'
.js-code-placeholder
'
).
get
(
0
);
// eslint-disable-next-line no-new
new
Vue
({
// eslint-disable-line no-new
el
,
components
:
{
SkeletonLoadingContainer
,
...
...
@@ -1827,7 +1826,6 @@ export default class Notes {
$closeBtn
.
text
(
$closeBtn
.
data
(
'
originalText
'
));
/* eslint-disable promise/catch-or-return */
// Make request to submit comment on server
return
axios
.
post
(
`
${
formAction
}
?html=true`
,
formData
)
...
...
@@ -1989,7 +1987,6 @@ export default class Notes {
'
<i class="fa fa-spinner fa-spin" aria-label="Comment is being updated" aria-hidden="true"></i>
'
,
);
/* eslint-disable promise/catch-or-return */
// Make request to update comment on server
axios
.
post
(
`
${
formAction
}
?html=true`
,
formData
)
...
...
app/assets/javascripts/pages/dashboard/todos/index/todos.js
View file @
0e644116
/* eslint-disable class-methods-use-this, no-unneeded-ternary
, quote-props
*/
/* eslint-disable class-methods-use-this, no-unneeded-ternary */
import
$
from
'
jquery
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
...
...
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, wrap-iife, no-var, one-var, camelcase, one-var-declaration-per-line, quotes, no-param-reassign, quote-props, comma-dangle, prefer-template, max-len, no-return-assign, no-shadow
*/
/* eslint-disable func-names,
wrap-iife, no-var, one-var, camelcase, one-var-declaration-per-line, quotes, no-param-reassign, quote-props, comma-dangle, prefer-template, max-len, no-return-assign
*/
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors_graph.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, prefer-rest-params, max-len, no-restricted-syntax, vars-on-top
, no-use-before-define, no-param-reassign, new-cap, no-underscore-dangle, wrap-iife, comma-dangle, no-return-assign, prefer-arrow-callback, quotes, prefer-template, newline-per-chained-call, no-else-return, no-shadow */
/* eslint-disable func-names,
max-len, no-restricted-syntax
, no-use-before-define, no-param-reassign, new-cap, no-underscore-dangle, wrap-iife, comma-dangle, no-return-assign, prefer-arrow-callback, quotes, prefer-template, newline-per-chained-call, no-else-return, no-shadow */
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors_util.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren,
object-shorthand, no-var, one-var, camelcase, one-var-declaration-per-line, comma-dangle, no-param-reassign, no-return-assign, quotes, prefer-arrow-callback, wrap-iife, consistent-return, no-unused-vars, max-len, no-cond-assign, no-else-return, max-len */
/* eslint-disable func-names, object-shorthand, no-var, one-var, camelcase, one-var-declaration-per-line, comma-dangle, no-param-reassign, no-return-assign, quotes, prefer-arrow-callback, wrap-iife, consistent-return, no-unused-vars, max-len, no-cond-assign, no-else-return, max-len */
import
_
from
'
underscore
'
;
export
default
{
...
...
app/assets/javascripts/pages/projects/init_blob.js
View file @
0e644116
...
...
@@ -8,7 +8,8 @@ import initBlobBundle from '~/blob_edit/blob_bundle';
export
default
()
=>
{
new
LineHighlighter
();
// eslint-disable-line no-new
new
BlobLinePermalinkUpdater
(
// eslint-disable-line no-new
// eslint-disable-next-line no-new
new
BlobLinePermalinkUpdater
(
document
.
querySelector
(
'
#blob-content-holder
'
),
'
.diff-line-num[data-line-number]
'
,
document
.
querySelectorAll
(
'
.js-data-file-blob-permalink-url, .js-blob-blame-link
'
),
...
...
@@ -19,12 +20,13 @@ export default () => {
new
ShortcutsNavigation
();
// eslint-disable-line no-new
new
ShortcutsBlob
({
// eslint-disable-line no-new
// eslint-disable-next-line no-new
new
ShortcutsBlob
({
skipResetBindings
:
true
,
fileBlobPermalinkUrl
,
});
new
BlobForkSuggestion
({
// eslint-disable-line no-new
new
BlobForkSuggestion
({
openButtons
:
document
.
querySelectorAll
(
'
.js-edit-blob-link-fork-toggler
'
),
forkButtons
:
document
.
querySelectorAll
(
'
.js-fork-suggestion-button
'
),
cancelButtons
:
document
.
querySelectorAll
(
'
.js-cancel-fork-suggestion-button
'
),
...
...
app/assets/javascripts/pages/projects/network/network.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren,
wrap-iife, no-var, quotes, quote-props, prefer-template, comma-dangle, max-len */
/* eslint-disable func-names, wrap-iife, no-var, quotes, quote-props, prefer-template, comma-dangle, max-len */
import
$
from
'
jquery
'
;
import
BranchGraph
from
'
../../../network/branch_graph
'
;
...
...
app/assets/javascripts/pages/projects/project.js
View file @
0e644116
/* eslint-disable func-names, space-before-function-paren, no-var, consistent-return, no-new, prefer-arrow-callback, no-return-assign, one-var, one-var-declaration-per-line, object-shorthand, no-else-return, newline-per-chained-call, no-shadow, vars-on-top, prefer-template, max-len */
/* eslint-disable func-names, no-var, no-return-assign, one-var,
one-var-declaration-per-line, object-shorthand, vars-on-top */
import
$
from
'
jquery
'
;
import
Cookies
from
'
js-cookie
'
;
...
...
app/assets/javascripts/pages/projects/settings/repository/form.js
View file @
0e644116
...
...
@@ -13,7 +13,7 @@ export default () => {
new
ProtectedTagEditList
();
initDeployKeys
();
initSettingsPanels
();
new
ProtectedBranchCreate
();
// eslint-disable-line no-new
new
ProtectedBranchEditList
();
// eslint-disable-line no-new
new
ProtectedBranchCreate
();
new
ProtectedBranchEditList
();
new
DueDateSelectors
();
};
app/assets/javascripts/pages/sessions/new/index.js
View file @
0e644116
...
...
@@ -6,7 +6,8 @@ import OAuthRememberMe from './oauth_remember_me';
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
UsernameValidator
();
// eslint-disable-line no-new
new
SigninTabsMemoizer
();
// eslint-disable-line no-new
new
OAuthRememberMe
({
// eslint-disable-line no-new
new
OAuthRememberMe
({
container
:
$
(
'
.omniauth-container
'
),
}).
bindEvents
();
});
app/assets/javascripts/pages/sessions/new/oauth_remember_me.js
View file @
0e644116
...
...
@@ -17,7 +17,6 @@ export default class OAuthRememberMe {
$
(
'
#remember_me
'
,
this
.
container
).
on
(
'
click
'
,
this
.
toggleRememberMe
);
}
// eslint-disable-next-line class-methods-use-this
toggleRememberMe
(
event
)
{
const
rememberMe
=
$
(
event
.
target
).
is
(
'
:checked
'
);
...
...
app/assets/javascripts/pages/sessions/new/username_validator.js
View file @
0e644116
/* eslint-disable comma-dangle, consistent-return, class-methods-use-this
, arrow-parens, no-param-reassign, max-len
*/
/* eslint-disable comma-dangle, consistent-return, class-methods-use-this */
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/preview_markdown.js
View file @
0e644116
/* eslint-disable func-names, no-var, object-shorthand,
comma-dangle,
prefer-arrow-callback */
/* eslint-disable func-names, no-var, object-shorthand, prefer-arrow-callback */
import
$
from
'
jquery
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
...
...
app/assets/javascripts/profile/gl_crop.js
View file @
0e644116
/* eslint-disable no-useless-escape, max-len,
quotes, no-var, no-underscore-dangle, func-names, space-before-function-paren
, no-unused-vars, no-return-assign, object-shorthand, one-var, one-var-declaration-per-line, comma-dangle, consistent-return, class-methods-use-this, new-parens */
/* eslint-disable no-useless-escape, max-len,
no-var, no-underscore-dangle, func-names
, no-unused-vars, no-return-assign, object-shorthand, one-var, one-var-declaration-per-line, comma-dangle, consistent-return, class-methods-use-this, new-parens */
import
$
from
'
jquery
'
;
import
'
cropper
'
;
...
...
app/assets/javascripts/profile/profile.js
View file @
0e644116
/* eslint-disable comma-dangle, no-unused-vars, class-methods-use-this, quotes, consistent-return, func-names, prefer-arrow-callback, space-before-function-paren, max-len */
import
$
from
'
jquery
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
__
}
from
'
~/locale
'
;
import
flash
from
'
../flash
'
;
export
default
class
Profile
{
...
...
app/assets/javascripts/project_find_file.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, no-var, prefer-rest-params, wrap-iife, quotes, consistent-return, one-var, one-var-declaration-per-line, no-cond-assign, max-len, object-shorthand, no-param-reassign, comma-dangle
, prefer-template, no-unused-vars, no-return-assign */
/* eslint-disable func-names,
no-var, wrap-iife, quotes, consistent-return, one-var, one-var-declaration-per-line, no-cond-assign, max-len
, prefer-template, no-unused-vars, no-return-assign */
import
$
from
'
jquery
'
;
import
fuzzaldrinPlus
from
'
fuzzaldrin-plus
'
;
...
...
app/assets/javascripts/project_select.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, wrap-iife, prefer-arrow-callback
, no-var, comma-dangle, object-shorthand, one-var, one-var-declaration-per-line, no-else-return, quotes, max-len */
/* eslint-disable func-names,
wrap-iife
, no-var, comma-dangle, object-shorthand, one-var, one-var-declaration-per-line, no-else-return, quotes, max-len */
import
$
from
'
jquery
'
;
import
Api
from
'
./api
'
;
...
...
app/assets/javascripts/right_sidebar.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, no-var, prefer-rest-params, wrap-iife, no-unused-vars, consistent-return, one-var, one-var-declaration-per-line, quotes, prefer-template, object-shorthand, comma-dangl
e, no-else-return, no-param-reassign, max-len */
/* eslint-disable func-names,
no-var, no-unused-vars, consistent-return, one-var, one-var-declaration-per-line, quotes, prefer-templat
e, no-else-return, no-param-reassign, max-len */
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/search_autocomplete.js
View file @
0e644116
/* eslint-disable no-return-assign, one-var, no-var, no-underscore-dangle, one-var-declaration-per-line, no-unused-vars,
no-cond-assign, consistent-return, object-shorthand, prefer-arrow-callback, func-names, space-before-function-paren, prefer-template, quotes, class-methods-use-this, no-sequences, wrap-iife, no-lonely-if, no-else-return, no-param-reassig
n, vars-on-top, max-len */
/* eslint-disable no-return-assign, one-var, no-var, no-underscore-dangle, one-var-declaration-per-line, no-unused-vars,
consistent-return, object-shorthand, prefer-template, quotes, class-methods-use-this, no-lonely-if, no-else-retur
n, vars-on-top, max-len */
import
$
from
'
jquery
'
;
import
axios
from
'
./lib/utils/axios_utils
'
;
...
...
app/assets/javascripts/sidebar/mount_sidebar.js
View file @
0e644116
...
...
@@ -75,7 +75,6 @@ function mountLockComponent(mediator) {
function
mountParticipantsComponent
(
mediator
)
{
const
el
=
document
.
querySelector
(
'
.js-sidebar-participants-entry-point
'
);
// eslint-disable-next-line no-new
if
(
!
el
)
return
;
// eslint-disable-next-line no-new
...
...
app/assets/javascripts/single_file_diff.js
View file @
0e644116
/* eslint-disable func-names, prefer-arrow-callback,
space-before-function-paren, no-var, prefer-rest-params, wrap-iife, one-var, one-var-declaration-per-line, consistent-return, no-param-reassign, max-len
*/
/* eslint-disable func-names, prefer-arrow-callback,
consistent-return,
*/
import
$
from
'
jquery
'
;
import
{
__
}
from
'
./locale
'
;
...
...
app/assets/javascripts/syntax_highlight.js
View file @
0e644116
/* eslint-disable
func-names, space-before-function-paren, consistent-return, no-var, no-else-return, prefer-arrow-callback, max-le
n */
/* eslint-disable
consistent-return, no-else-retur
n */
import
$
from
'
jquery
'
;
...
...
app/assets/javascripts/tree.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, wrap-iife,
max-len, quotes, consistent-return, no-var, one-var, one-var-declaration-per-line, no-else-return, prefer-arrow-callback, class-methods-use-this */
/* eslint-disable func-names, max-len, quotes, consistent-return, no-var, one-var, one-var-declaration-per-line, no-else-return, prefer-arrow-callback, class-methods-use-this */
import
$
from
'
jquery
'
;
import
{
visitUrl
}
from
'
./lib/utils/url_utility
'
;
...
...
app/assets/javascripts/users_select.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren, one-var, no-var, prefer-rest-params, wrap-iife, quotes, max-len, one-var-declaration-per-line, vars-on-top, prefer-arrow-callback, consistent-return, comma-dangle, object-shorthand, no-shadow, no-unused-vars, no-else-return, no-self-compare, prefer-template, no-unused-expressions, no-lonely-if
, yoda, prefer-spread, no-void, camelcase, no-param-reassign */
/* eslint-disable func-names,
one-var, no-var, prefer-rest-params, quotes, max-len, one-var-declaration-per-line, vars-on-top, prefer-arrow-callback, consistent-return, comma-dangle, object-shorthand, no-shadow, no-unused-vars, no-else-return, no-self-compare, prefer-template, no-unused-expressions
, yoda, prefer-spread, no-void, camelcase, no-param-reassign */
/* global Issuable */
/* global emitSidebarEvent */
...
...
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue
View file @
0e644116
...
...
@@ -172,7 +172,7 @@ export default {
}
})
.
catch
(()
=>
{
createFlash
(
'
Something went wrong while fetching the environments for this merge request. Please try again.
'
);
// eslint-disable-line
createFlash
(
'
Something went wrong while fetching the environments for this merge request. Please try again.
'
);
});
},
fetchActionsContent
()
{
...
...
app/assets/javascripts/vue_shared/vue_resource_interceptor.js
View file @
0e644116
...
...
@@ -28,7 +28,7 @@ Vue.http.interceptors.push((request, next) => {
response
.
headers
.
forEach
((
value
,
key
)
=>
{
headers
[
key
]
=
value
;
});
// eslint-disable-next-line no-param-reassign
response
.
headers
=
headers
;
});
});
app/assets/javascripts/zen_mode.js
View file @
0e644116
/* eslint-disable func-names,
space-before-function-paren,
wrap-iife, prefer-arrow-callback, no-unused-vars, consistent-return, camelcase, comma-dangle, max-len, class-methods-use-this */
/* eslint-disable func-names, wrap-iife, prefer-arrow-callback, no-unused-vars, consistent-return, camelcase, comma-dangle, max-len, class-methods-use-this */
// Zen Mode (full screen) textarea
//
...
...
spec/javascripts/activities_spec.js
View file @
0e644116
/* eslint-disable no-unused-expressions, no-prototype-builtins, no-new, no-shadow
, max-len
*/
/* eslint-disable no-unused-expressions, no-prototype-builtins, no-new, no-shadow */
import
$
from
'
jquery
'
;
import
'
vendor/jquery.endless-scroll
'
;
...
...
spec/javascripts/awards_handler_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, no-var, one-var, one-var-declaration-per-line, no-unused-expressions, comma-dangle, new-parens, no-unused-vars, quotes, jasmine/no-spec-dup
es, prefer-template, max-len */
/* eslint-disable
no-var, one-var, one-var-declaration-per-line, no-unused-expressions, comma-dangle, no-unused-vars, quot
es, prefer-template, max-len */
import
$
from
'
jquery
'
;
import
Cookies
from
'
js-cookie
'
;
...
...
spec/javascripts/boards/boards_store_spec.js
View file @
0e644116
/* eslint-disable comma-dangle,
one-var,
no-unused-vars */
/* eslint-disable comma-dangle, no-unused-vars */
/* global ListIssue */
import
Vue
from
'
vue
'
;
...
...
spec/javascripts/bootstrap_jquery_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren,
no-var */
/* eslint-disable no-var */
import
$
from
'
jquery
'
;
import
'
~/commons/bootstrap
'
;
...
...
spec/javascripts/gl_dropdown_spec.js
View file @
0e644116
/* eslint-disable comma-dangle, no-param-reassign
, no-unused-expressions, max-len
*/
/* eslint-disable comma-dangle, no-param-reassign */
import
$
from
'
jquery
'
;
import
GLDropdown
from
'
~/gl_dropdown
'
;
...
...
spec/javascripts/gl_field_errors_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren,
arrow-body-style */
/* eslint-disable arrow-body-style */
import
$
from
'
jquery
'
;
import
GlFieldErrors
from
'
~/gl_field_errors
'
;
...
...
spec/javascripts/helpers/vue_resource_helper.js
View file @
0e644116
...
...
@@ -5,7 +5,6 @@ export const headersInterceptor = (request, next) => {
response
.
headers
.
forEach
((
value
,
key
)
=>
{
headers
[
key
]
=
value
;
});
// eslint-disable-next-line no-param-reassign
response
.
headers
=
headers
;
});
};
spec/javascripts/issuable_time_tracker_spec.js
View file @
0e644116
/* eslint-disable no-unused-vars,
space-before-function-paren, func-call-spacing, no-spaced-func, semi, max-len, quotes, space-infix-ops, padded-blocks
*/
/* eslint-disable no-unused-vars,
func-call-spacing, no-spaced-func, semi, quotes, space-infix-ops, max-len
*/
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
...
...
spec/javascripts/issue_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, one-var, one-var-declaration-per-line, no-use-before-define, comma-dangle, max-len
*/
/* eslint-disable
one-var, one-var-declaration-per-line, no-use-before-define, comma-dangle
*/
import
$
from
'
jquery
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
...
...
spec/javascripts/job_spec.js
View file @
0e644116
...
...
@@ -304,7 +304,6 @@ describe('Job', () => {
describe
(
'
getBuildTrace
'
,
()
=>
{
it
(
'
should request build trace with state parameter
'
,
(
done
)
=>
{
spyOn
(
axios
,
'
get
'
).
and
.
callThrough
();
// eslint-disable-next-line no-new
job
=
new
Job
();
setTimeout
(()
=>
{
...
...
spec/javascripts/line_highlighter_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, no-var, no-param-reassign, quotes, prefer-template, no-else-return, new-cap, dot-notation, no-return-assign, comma-dangle, no-new, one-var, one-var-declaration-per-line, jasmine/no-spec-dupes
, no-underscore-dangle, max-len */
/* eslint-disable
no-var, quotes, prefer-template, no-else-return, dot-notation, no-return-assign, comma-dangle, no-new, one-var, one-var-declaration-per-line
, no-underscore-dangle, max-len */
import
$
from
'
jquery
'
;
import
LineHighlighter
from
'
~/line_highlighter
'
;
...
...
spec/javascripts/merge_request_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren,
no-return-assign */
/* eslint-disable no-return-assign */
import
$
from
'
jquery
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
...
...
spec/javascripts/mini_pipeline_graph_dropdown_spec.js
View file @
0e644116
/* eslint-disable no-new */
import
$
from
'
jquery
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
...
...
spec/javascripts/monitoring/mock_data.js
View file @
0e644116
/* eslint-disable quote-props, indent, comma-dangle */
export
const
mockApiEndpoint
=
`
${
gl
.
TEST_HOST
}
/monitoring/mock`
;
export
const
metricsGroupsAPIResponse
=
{
...
...
spec/javascripts/new_branch_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren,
one-var, no-var, one-var-declaration-per-line, no-return-assign, quotes, max-len */
/* eslint-disable one-var, no-var, one-var-declaration-per-line, no-return-assign, quotes, max-len */
import
$
from
'
jquery
'
;
import
NewBranchForm
from
'
~/new_branch_form
'
;
...
...
spec/javascripts/notes_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, no-unused-expressions, no-var, object-shorthand, comma-dangle, max-len
*/
/* eslint-disable
no-unused-expressions, no-var, object-shorthand
*/
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
...
...
spec/javascripts/right_sidebar_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, no-var, one-var, one-var-declaration-per-line, new-parens, no-return-assign, new-cap
, vars-on-top, max-len */
/* eslint-disable
no-var, one-var, one-var-declaration-per-line, no-return-assign
, vars-on-top, max-len */
import
$
from
'
jquery
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
...
...
spec/javascripts/search_autocomplete_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren, max-len, no-var, one-var, one-var-declaration-per-line, no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign, comma-dangle, object-shorthand, prefer-template, quotes, new-parens, vars-on-top, new-ca
p, max-len */
/* eslint-disable
max-len, no-var, one-var, one-var-declaration-per-line, no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign, object-shorthand, prefer-template, vars-on-to
p, max-len */
import
$
from
'
jquery
'
;
import
'
~/gl_dropdown
'
;
...
...
spec/javascripts/syntax_highlight_spec.js
View file @
0e644116
/* eslint-disable
space-before-function-paren,
no-var, no-return-assign, quotes */
/* eslint-disable no-var, no-return-assign, quotes */
import
$
from
'
jquery
'
;
import
syntaxHighlight
from
'
~/syntax_highlight
'
;
...
...
spec/javascripts/u2f/mock_u2f_device.js
View file @
0e644116
/* eslint-disable prefer-rest-params, wrap-iife,
no-unused-expressions, no-return-assign, no-param-reassign */
/* eslint-disable wrap-iife, no-unused-expressions, no-return-assign, no-param-reassign */
export
default
class
MockU2FDevice
{
constructor
()
{
...
...
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