Skip to content

Commit b7422d2

Browse files
See USee U
authored andcommitted
chore: fix oxlint config, tighten plugin options type, sync lockfile
1 parent 83c29a4 commit b7422d2

6 files changed

Lines changed: 1092 additions & 1192 deletions

File tree

.oxlintrc.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,14 @@
4141
// Warn when spreading non-plain objects (Headers, class instances, etc.)
4242
"typescript/no-misused-spread": "warn"
4343
},
44-
"options": {
45-
"typeAware": true
46-
},
47-
"options": {
48-
"typeAware": true
49-
},
44+
"overrides": [
45+
{
46+
"files": ["**/*.test.*", "**/test/**"],
47+
"rules": {
48+
// bun:test types `expect().resolves/.rejects` matchers as non-Thenable, so the idiomatic `await expect(...)` false-positives
49+
"typescript/await-thenable": "off"
50+
}
51+
}
52+
],
5053
"ignorePatterns": ["**/node_modules", "**/dist", "**/.build", "**/.sst", "**/*.d.ts", "**/sdk.gen.ts"]
5154
}

0 commit comments

Comments
 (0)