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:
regexowl 2025-07-09 13:43:09 +02:00 committed by Gianluca Zuccarelli
parent 91b2cc2d10
commit 25a5f140d8
98 changed files with 437 additions and 432 deletions

View file

@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { Button, Popover, Content, Flex } from '@patternfly/react-core';
import { Button, Content, Flex, Popover } from '@patternfly/react-core';
import { ExternalLinkAltIcon, HelpIcon } from '@patternfly/react-icons';
import {
OpenSourceBadge,