ESLint: Add rule to sort imports alphabetically
The `import/order` rule isn't enough to sort import within a single import group alphabetically. This adds `sort-imports` rule that handles the sorting within groups.
This commit is contained in:
parent
91b2cc2d10
commit
25a5f140d8
98 changed files with 437 additions and 432 deletions
|
|
@ -3,21 +3,21 @@ import React, { useEffect, useMemo, useState } from 'react';
|
|||
import {
|
||||
Alert,
|
||||
Button,
|
||||
Grid,
|
||||
Modal,
|
||||
ModalBody,
|
||||
ModalFooter,
|
||||
ModalHeader,
|
||||
Pagination,
|
||||
PaginationVariant,
|
||||
Panel,
|
||||
PanelMain,
|
||||
SearchInput,
|
||||
ToggleGroup,
|
||||
ToggleGroupItem,
|
||||
Toolbar,
|
||||
ToolbarContent,
|
||||
ToolbarItem,
|
||||
ToggleGroup,
|
||||
ToggleGroupItem,
|
||||
PaginationVariant,
|
||||
Grid,
|
||||
ModalHeader,
|
||||
ModalBody,
|
||||
ModalFooter,
|
||||
} from '@patternfly/react-core';
|
||||
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
import { Table, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
|
||||
|
|
@ -41,8 +41,8 @@ import {
|
|||
} from '../../../../constants';
|
||||
import {
|
||||
ApiRepositoryResponseRead,
|
||||
useListRepositoriesQuery,
|
||||
useGetTemplateQuery,
|
||||
useListRepositoriesQuery,
|
||||
useListRepositoryParametersQuery,
|
||||
} from '../../../../store/contentSourcesApi';
|
||||
import { useAppDispatch, useAppSelector } from '../../../../store/hooks';
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
import React from 'react';
|
||||
|
||||
import {
|
||||
Button,
|
||||
EmptyState,
|
||||
EmptyStateVariant,
|
||||
EmptyStateBody,
|
||||
EmptyStateFooter,
|
||||
Button,
|
||||
EmptyStateVariant,
|
||||
} from '@patternfly/react-core';
|
||||
import { RepositoryIcon } from '@patternfly/react-icons';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
|
||||
import { EmptyState, Spinner, Bullseye } from '@patternfly/react-core';
|
||||
import { Bullseye, EmptyState, Spinner } from '@patternfly/react-core';
|
||||
|
||||
export const Loading = () => {
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
|
||||
import { Alert, Form, Content, Title } from '@patternfly/react-core';
|
||||
import { Alert, Content, Form, Title } from '@patternfly/react-core';
|
||||
|
||||
import ManageRepositoriesButton from './components/ManageRepositoriesButton';
|
||||
import Repositories from './Repositories';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue