🔧 Expand oxfmt to format project config and docs files

This commit is contained in:
tmu committed 2026-09-03 20:58:33 +00:00
1 parent 7349d0dec2
commit 0598a9eb4a
4 files changed
+15 -9

No files matched your search

+11 -1
View File
@@ -1,9 +1,19 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"printWidth": 80,
"tabWidth": 4,
"endOfLine": "lf",
"arrowParens": "always"
"arrowParens": "always",
"sortPackageJson": true,
"sortImports": true,
"ignorePatterns": [
"dist",
"coverage",
"node_modules",
"package-lock.json",
"*.tsbuildinfo"
]
}
+1 -6
View File
@@ -1,11 +1,6 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": [
"typescript",
"unicorn",
"oxc",
"import"
],
"plugins": ["typescript", "unicorn", "oxc", "import"],
"categories": {
"correctness": "error",
"suspicious": "error",
-1
View File
@@ -32,4 +32,3 @@
"editor.formatOnSave": true,
"js/ts.tsdk.path": "node_modules/typescript/lib"
}
+3 -1
View File
@@ -1,6 +1,8 @@
import { test } from "node:test";
import { strict as assert } from "node:assert";
import { test } from "node:test";
import { expectTypeOf } from "expect-type";
import { match, P, type Matcher } from "./index.ts";
test("match returns a builder", () => {