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
3d785164
Commit
3d785164
authored
Feb 06, 2020
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'leipert-to-eslint-6' into 'master'"
This reverts merge request !24413
parent
27e32843
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
353 additions
and
288 deletions
+353
-288
.eslintrc.yml
.eslintrc.yml
+4
-6
app/assets/javascripts/due_date_select.js
app/assets/javascripts/due_date_select.js
+0
-1
app/assets/javascripts/gl_dropdown.js
app/assets/javascripts/gl_dropdown.js
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_failed_to_merge.vue
...st_widget/components/states/mr_widget_failed_to_merge.vue
+1
-1
ee/app/assets/javascripts/design_management/components/design_notes/design_discussion.vue
..._management/components/design_notes/design_discussion.vue
+1
-1
ee/app/assets/javascripts/group_member_contributions/store/group_member_store.js
...ts/group_member_contributions/store/group_member_store.js
+1
-1
ee/app/assets/javascripts/jira_connect.js
ee/app/assets/javascripts/jira_connect.js
+1
-1
package.json
package.json
+6
-6
spec/frontend/.eslintrc.yml
spec/frontend/.eslintrc.yml
+0
-6
spec/frontend/gl_field_errors_spec.js
spec/frontend/gl_field_errors_spec.js
+2
-0
spec/frontend/vue_shared/components/issue/issue_assignees_spec.js
...ntend/vue_shared/components/issue/issue_assignees_spec.js
+1
-1
yarn.lock
yarn.lock
+335
-263
No files found.
.eslintrc.yml
View file @
3d785164
...
@@ -51,10 +51,8 @@ rules:
...
@@ -51,10 +51,8 @@ rules:
no-jquery/no-serialize
:
error
no-jquery/no-serialize
:
error
promise/always-return
:
off
promise/always-return
:
off
promise/no-callback-in-promise
:
off
promise/no-callback-in-promise
:
off
# Make update to eslint@6 smoother:
prefer-object-spread
:
off
overrides
:
overrides
:
-
files
:
files
:
-
'
**/spec/**/*'
-
'
**/spec/**/*'
rules
:
rules
:
"
@gitlab/i18n/no-non-i18n-strings"
:
off
"
@gitlab/i18n/no-non-i18n-strings"
:
off
app/assets/javascripts/due_date_select.js
View file @
3d785164
/* eslint-disable max-classes-per-file */
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Pikaday
from
'
pikaday
'
;
import
Pikaday
from
'
pikaday
'
;
import
dateFormat
from
'
dateformat
'
;
import
dateFormat
from
'
dateformat
'
;
...
...
app/assets/javascripts/gl_dropdown.js
View file @
3d785164
/* eslint-disable
max-classes-per-file,
one-var, consistent-return */
/* eslint-disable one-var, consistent-return */
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
import
_
from
'
underscore
'
;
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_failed_to_merge.vue
View file @
3d785164
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,7 @@ export default {
eventHub
.
$emit
(
'
EnablePolling
'
);
eventHub
.
$emit
(
'
EnablePolling
'
);
},
},
updateTimer
()
{
updateTimer
()
{
this
.
timer
-=
1
;
this
.
timer
=
this
.
timer
-
1
;
if
(
this
.
timer
===
0
)
{
if
(
this
.
timer
===
0
)
{
this
.
refresh
();
this
.
refresh
();
...
...
ee/app/assets/javascripts/design_management/components/design_notes/design_discussion.vue
View file @
3d785164
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
/>
/>
<apollo-mutation
<apollo-mutation
v-else
v-else
v-slot=
"
{ mutate, loading }"
v-slot=
"
{ mutate, loading
, error
}"
:mutation="$options.createNoteMutation"
:mutation="$options.createNoteMutation"
:variables="{
:variables="{
input: mutationPayload,
input: mutationPayload,
...
...
ee/app/assets/javascripts/group_member_contributions/store/group_member_store.js
View file @
3d785164
...
@@ -43,7 +43,7 @@ export default class GroupMemberStore {
...
@@ -43,7 +43,7 @@ export default class GroupMemberStore {
sortMembers
(
sortByColumn
)
{
sortMembers
(
sortByColumn
)
{
if
(
sortByColumn
)
{
if
(
sortByColumn
)
{
this
.
state
.
currentSortedColumn
=
sortByColumn
;
this
.
state
.
currentSortedColumn
=
sortByColumn
;
this
.
state
.
sortOrders
[
sortByColumn
]
*=
-
1
;
this
.
state
.
sortOrders
[
sortByColumn
]
=
this
.
state
.
sortOrders
[
sortByColumn
]
*
-
1
;
const
currentColumnOrder
=
this
.
state
.
sortOrders
[
sortByColumn
]
||
1
;
const
currentColumnOrder
=
this
.
state
.
sortOrders
[
sortByColumn
]
||
1
;
const
members
=
this
.
state
.
members
.
slice
().
sort
((
a
,
b
)
=>
{
const
members
=
this
.
state
.
members
.
slice
().
sort
((
a
,
b
)
=>
{
...
...
ee/app/assets/javascripts/jira_connect.js
View file @
3d785164
/* eslint-disable func-names, no-var, no-alert */
/* eslint-disable func-names,
prefer-arrow-callback,
no-var, no-alert */
/* global $ */
/* global $ */
/* global AP */
/* global AP */
...
...
package.json
View file @
3d785164
...
@@ -146,9 +146,9 @@
...
@@ -146,9 +146,9 @@
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"
@babel/plugin-transform-modules-commonjs
"
:
"
^7.5.0
"
,
"
@babel/plugin-transform-modules-commonjs
"
:
"
^7.5.0
"
,
"
@gitlab/eslint-config
"
:
"
^
3.0.0
"
,
"
@gitlab/eslint-config
"
:
"
^
2.1.2
"
,
"
@gitlab/eslint-plugin-i18n
"
:
"
^1.1.0
"
,
"
@gitlab/eslint-plugin-i18n
"
:
"
^1.1.0
"
,
"
@gitlab/eslint-plugin-vue-i18n
"
:
"
^
2.0
.0
"
,
"
@gitlab/eslint-plugin-vue-i18n
"
:
"
^
1.2
.0
"
,
"
@vue/test-utils
"
:
"
^1.0.0-beta.30
"
,
"
@vue/test-utils
"
:
"
^1.0.0-beta.30
"
,
"
axios-mock-adapter
"
:
"
^1.15.0
"
,
"
axios-mock-adapter
"
:
"
^1.15.0
"
,
"
babel-jest
"
:
"
^24.1.0
"
,
"
babel-jest
"
:
"
^24.1.0
"
,
...
@@ -159,10 +159,10 @@
...
@@ -159,10 +159,10 @@
"
commander
"
:
"
^2.18.0
"
,
"
commander
"
:
"
^2.18.0
"
,
"
custom-jquery-matchers
"
:
"
^2.1.0
"
,
"
custom-jquery-matchers
"
:
"
^2.1.0
"
,
"
docdash
"
:
"
^1.0.2
"
,
"
docdash
"
:
"
^1.0.2
"
,
"
eslint
"
:
"
~
6.8
.0
"
,
"
eslint
"
:
"
~
5.9
.0
"
,
"
eslint-import-resolver-jest
"
:
"
^
3.0.0
"
,
"
eslint-import-resolver-jest
"
:
"
^
2.1.1
"
,
"
eslint-import-resolver-webpack
"
:
"
^0.1
2
.1
"
,
"
eslint-import-resolver-webpack
"
:
"
^0.1
0
.1
"
,
"
eslint-plugin-jasmine
"
:
"
^
4.1.0
"
,
"
eslint-plugin-jasmine
"
:
"
^
2.10.1
"
,
"
eslint-plugin-jest
"
:
"
^22.3.0
"
,
"
eslint-plugin-jest
"
:
"
^22.3.0
"
,
"
eslint-plugin-no-jquery
"
:
"
^2.3.0
"
,
"
eslint-plugin-no-jquery
"
:
"
^2.3.0
"
,
"
gettext-extractor
"
:
"
^3.4.3
"
,
"
gettext-extractor
"
:
"
^3.4.3
"
,
...
...
spec/frontend/.eslintrc.yml
View file @
3d785164
...
@@ -6,12 +6,6 @@ plugins:
...
@@ -6,12 +6,6 @@ plugins:
extends
:
extends
:
-
'
plugin:jest/recommended'
-
'
plugin:jest/recommended'
settings
:
settings
:
# We have to teach eslint-plugin-import what node modules we use
# otherwise there is an error when it tries to resolve them
import/core-modules
:
-
events
-
fs
-
path
import/resolver
:
import/resolver
:
jest
:
jest
:
jestConfigFile
:
'
jest.config.js'
jestConfigFile
:
'
jest.config.js'
...
...
spec/frontend/gl_field_errors_spec.js
View file @
3d785164
/* eslint-disable arrow-body-style */
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
GlFieldErrors
from
'
~/gl_field_errors
'
;
import
GlFieldErrors
from
'
~/gl_field_errors
'
;
...
...
spec/frontend/vue_shared/components/issue/issue_assignees_spec.js
View file @
3d785164
...
@@ -18,7 +18,7 @@ describe('IssueAssigneesComponent', () => {
...
@@ -18,7 +18,7 @@ describe('IssueAssigneesComponent', () => {
...
props
,
...
props
,
},
},
});
});
vm
=
wrapper
.
vm
;
vm
=
wrapper
.
vm
;
// eslint-disable-line
};
};
const
findTooltipText
=
()
=>
wrapper
.
find
(
'
.js-assignee-tooltip
'
).
text
();
const
findTooltipText
=
()
=>
wrapper
.
find
(
'
.js-assignee-tooltip
'
).
text
();
...
...
yarn.lock
View file @
3d785164
This diff is collapsed.
Click to expand it.
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