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
12e6cb2c
Commit
12e6cb2c
authored
Aug 26, 2021
by
Mark Florian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Draft: Remove import path order linting
parent
e1d1bcda
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
7 deletions
+2
-7
.eslintrc.yml
.eslintrc.yml
+1
-1
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+0
-1
doc/development/testing_guide/frontend_testing.md
doc/development/testing_guide/frontend_testing.md
+1
-1
spec/frontend/diffs/components/app_spec.js
spec/frontend/diffs/components/app_spec.js
+0
-3
spec/frontend/filtered_search/dropdown_user_spec.js
spec/frontend/filtered_search/dropdown_user_spec.js
+0
-1
No files found.
.eslintrc.yml
View file @
12e6cb2c
...
...
@@ -88,7 +88,7 @@ rules:
-
pattern
:
test_fixtures/**
group
:
internal
alphabetize
:
order
:
asc
order
:
ignore
overrides
:
-
files
:
-
'
**/spec/**/*'
...
...
app/assets/javascripts/main.js
View file @
12e6cb2c
/* global $ */
/* eslint-disable import/order */
import
jQuery
from
'
jquery
'
;
import
Cookies
from
'
js-cookie
'
;
...
...
doc/development/testing_guide/frontend_testing.md
View file @
12e6cb2c
...
...
@@ -1124,7 +1124,7 @@ it like so:
import
Subject
from
'
~/feature/the_subject.vue
'
;
// Force Jest to transpile and cache
// eslint-disable-next-line
import/order,
no-unused-vars
// eslint-disable-next-line no-unused-vars
import
_Thing
from
'
~/feature/path/to/thing.vue
'
;
```
...
...
spec/frontend/diffs/components/app_spec.js
View file @
12e6cb2c
...
...
@@ -13,11 +13,8 @@ import DiffFile from '~/diffs/components/diff_file.vue';
import
NoChanges
from
'
~/diffs/components/no_changes.vue
'
;
import
TreeList
from
'
~/diffs/components/tree_list.vue
'
;
/* eslint-disable import/order */
/* You know what: sometimes alphabetical isn't the best order */
import
CollapsedFilesWarning
from
'
~/diffs/components/collapsed_files_warning.vue
'
;
import
HiddenFilesWarning
from
'
~/diffs/components/hidden_files_warning.vue
'
;
/* eslint-enable import/order */
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
*
as
urlUtils
from
'
~/lib/utils/url_utility
'
;
...
...
spec/frontend/filtered_search/dropdown_user_spec.js
View file @
12e6cb2c
import
DropdownUtils
from
'
~/filtered_search/dropdown_utils
'
;
// TODO: Moving this line up throws an error about `FilteredSearchDropdown`
// being undefined in test. See gitlab-org/gitlab#321476 for more info.
// eslint-disable-next-line import/order
import
DropdownUser
from
'
~/filtered_search/dropdown_user
'
;
import
FilteredSearchTokenizer
from
'
~/filtered_search/filtered_search_tokenizer
'
;
import
IssuableFilteredTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
...
...
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