From 83db079683b1a31056c8f30ef2f2fc95244b1dcd Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Thu, 22 Jan 2026 16:56:34 +0100 Subject: [PATCH] chore: fmt import sort --- .oxfmtrc.json | 6 +++++- .oxlintrc.json | 1 - CLAUDE.md | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.oxfmtrc.json b/.oxfmtrc.json index 154c764..49a2bb8 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -1,4 +1,8 @@ { "$schema": "./node_modules/oxfmt/configuration_schema.json", - "ignorePatterns": ["package.json", "pnpm-lock.yaml"] + "ignorePatterns": ["package.json", "pnpm-lock.yaml"], + "organizeImports": { + "sortImports": true, + "separateGroups": true + } } diff --git a/.oxlintrc.json b/.oxlintrc.json index 910e3b9..5eb924b 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -1,7 +1,6 @@ { "$schema": "./node_modules/oxlint/configuration_schema.json", "rules": { - "sort-imports": "off", "@typescript-eslint/no-explicit-any": "error" } } diff --git a/CLAUDE.md b/CLAUDE.md index 203befa..89bdd79 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -29,7 +29,7 @@ pnpm test # Run unit tests pnpm test:integration # Run integration tests (requires Docker) pnpm typecheck # Type check all packages pnpm lint # Run oxlint -pnpm format # Format with oxfmt +pnpm format # Format with oxfmt (import sorting) pnpm format --check # Check formatting pnpm knip # Check for unused exports/dependencies ```