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
|
|
@ -1,24 +1,24 @@
|
|||
import React, { useState, useEffect } from 'react';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
import {
|
||||
ActionGroup,
|
||||
Button,
|
||||
Form,
|
||||
FormGroup,
|
||||
FormHelperText,
|
||||
HelperText,
|
||||
HelperTextItem,
|
||||
FormHelperText,
|
||||
Label,
|
||||
LabelGroup,
|
||||
MenuToggle,
|
||||
Popover,
|
||||
Select,
|
||||
SelectOption,
|
||||
SelectList,
|
||||
ValidatedOptions,
|
||||
MenuToggle,
|
||||
SelectOption,
|
||||
TextInputGroup,
|
||||
TextInputGroupMain,
|
||||
TextInputGroupUtilities,
|
||||
ValidatedOptions,
|
||||
} from '@patternfly/react-core';
|
||||
import { MenuToggleElement } from '@patternfly/react-core/dist/esm/components/MenuToggle/MenuToggle';
|
||||
import {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue