Skip to content

Commit ffedb26

Browse files
committed
Sort imports
1 parent c7f4d3c commit ffedb26

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.oxfmtrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
22
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3-
"ignorePatterns": []
3+
"sortImports": {
4+
"newlinesBetween": false
5+
}
46
}

src/format.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import path from "node:path";
12
import { detect as detectPackageManager, type Agent } from "package-manager-detector";
2-
import { formatters, type FormatterFormatContext, type FormatterName } from "./formatters.ts";
33
import { detect } from "./detect.ts";
4-
import path from "node:path";
4+
import { formatters, type FormatterFormatContext, type FormatterName } from "./formatters.ts";
55

66
export interface FormatOptions {
77
/**

0 commit comments

Comments
 (0)