Skip to content

biome useSortedClasses rule is counter intuitiveΒ #2126

@gtabuada

Description

@gtabuada

Provide environment information

7.39.3

Describe the bug

(not really a bug but there is no issue template for simple suggestions, sorry)

Despite being only "warn" level diagnostics, it's still not ideal to have Biome cheking for sorted classes if you're unable to fix it with it's own formatter. It currently has only a unsafe fix alternative, which requires you to run it manually.

While in development, my editor is flooded with warns until I either a) go out of my way to run biome write checks or; b) strip it off of the rule config.

Proposal: remove this rule, and only bring it back when Biome is capable of automatically sorting on format

Reproduction repo

To reproduce

  • pnpm create t3-app@latest
  • choose biome as linter

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions