diff --git a/project/dprint.json b/project/dprint.json index 287af9de..9b3e865d 100644 --- a/project/dprint.json +++ b/project/dprint.json @@ -32,6 +32,10 @@ "constructorType.spaceAfterNewKeyword": false, "constructSignature.spaceAfterNewKeyword": false, "doWhileStatement.spaceAfterWhileKeyword": true, + "module.sortImportDeclarations": "maintain", + "module.sortExportDeclarations": "maintain", + "exportDeclaration.sortNamedExports": "maintain", + "importDeclaration.sortNamedImports": "maintain", "exportDeclaration.spaceSurroundingNamedExports": false, "forInStatement.spaceAfterForKeyword": true, "forOfStatement.spaceAfterForKeyword": true, diff --git a/project/package.json b/project/package.json index 1893e3d4..9f313feb 100644 --- a/project/package.json +++ b/project/package.json @@ -13,7 +13,7 @@ "scripts": { "check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/", "lint": "biome ci src --formatter-enabled=false --max-diagnostics=200", - "lint:fix": "eslint --fix --ext .ts src/**", + "lint:fix": "biome check --apply-unsafe --max-diagnostics=200 . && dprint fmt --incremental=false", "style": "dprint check --incremental=false", "style:fix": "dprint fmt --incremental=false", "test": "vitest run",