Skip to content

Add ESLint rules to enforce import grouping and ordering #20

@coderabbitai

Description

@coderabbitai

Description

ESLint configuration should enforce proper import grouping to separate external dependencies from local imports and maintain consistent ordering.

Context

This issue was identified during code review where external dependencies (e.g., react-router, antd) were mixed with local imports (./router, ./theme) in the same import group, reducing code readability and maintainability.

Expected Behaviour

ESLint should enforce:

  • Separation of external dependencies from local imports
  • Consistent ordering within each group (alphabetical or logical)
  • Clear grouping boundaries between different import types

Related Links

Requested by: @junhaoliao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions