Commit 12e6cb2c authored by Mark Florian's avatar Mark Florian

Draft: Remove import path order linting

parent e1d1bcda
...@@ -88,7 +88,7 @@ rules: ...@@ -88,7 +88,7 @@ rules:
- pattern: test_fixtures/** - pattern: test_fixtures/**
group: internal group: internal
alphabetize: alphabetize:
order: asc order: ignore
overrides: overrides:
- files: - files:
- '**/spec/**/*' - '**/spec/**/*'
......
/* global $ */ /* global $ */
/* eslint-disable import/order */
import jQuery from 'jquery'; import jQuery from 'jquery';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
......
...@@ -1124,7 +1124,7 @@ it like so: ...@@ -1124,7 +1124,7 @@ it like so:
import Subject from '~/feature/the_subject.vue'; import Subject from '~/feature/the_subject.vue';
// Force Jest to transpile and cache // 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'; import _Thing from '~/feature/path/to/thing.vue';
``` ```
......
...@@ -13,11 +13,8 @@ import DiffFile from '~/diffs/components/diff_file.vue'; ...@@ -13,11 +13,8 @@ import DiffFile from '~/diffs/components/diff_file.vue';
import NoChanges from '~/diffs/components/no_changes.vue'; import NoChanges from '~/diffs/components/no_changes.vue';
import TreeList from '~/diffs/components/tree_list.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 CollapsedFilesWarning from '~/diffs/components/collapsed_files_warning.vue';
import HiddenFilesWarning from '~/diffs/components/hidden_files_warning.vue'; import HiddenFilesWarning from '~/diffs/components/hidden_files_warning.vue';
/* eslint-enable import/order */
import axios from '~/lib/utils/axios_utils'; import axios from '~/lib/utils/axios_utils';
import * as urlUtils from '~/lib/utils/url_utility'; import * as urlUtils from '~/lib/utils/url_utility';
......
import DropdownUtils from '~/filtered_search/dropdown_utils'; import DropdownUtils from '~/filtered_search/dropdown_utils';
// TODO: Moving this line up throws an error about `FilteredSearchDropdown` // TODO: Moving this line up throws an error about `FilteredSearchDropdown`
// being undefined in test. See gitlab-org/gitlab#321476 for more info. // 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 DropdownUser from '~/filtered_search/dropdown_user';
import FilteredSearchTokenizer from '~/filtered_search/filtered_search_tokenizer'; import FilteredSearchTokenizer from '~/filtered_search/filtered_search_tokenizer';
import IssuableFilteredTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys'; import IssuableFilteredTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment