unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
4k stars 468 forks source link

Use Biome import sorting #955

Closed ubinatus closed 8 months ago

ubinatus commented 8 months ago

Preliminary Checks

Is your feature request related to a problem? Please describe.

The increasing contributions to Unkey make it challenging to maintain code consistency. Without standardized import declarations, the codebase becomes harder to navigate and maintain.

Describe the solution

Implement Biome's Imports Sorting feature to standardize the order of import declarations. This solution leverages the existing formatter/linter setup, ensuring consistent code structure and improving readability and maintainability.

Describe alternatives you have considered (if any)

No response

Additional context

This will require to bump @biomejs/biome to be able to use the organizeImports feature in the config. This bump of v might come with some new rules though.

linear[bot] commented 8 months ago

ENG-508 Use Biome import sorting

chronark commented 8 months ago

👍

ubinatus commented 8 months ago

Closing this issue as completed on #954