Skip to content

Commit 2e41d4a

Browse files
committed
chore(lint): drop the redundant require-await override
@ver0/oxlint-config 2.0.2 disables the base `require-await` in its typescript preset, for the same reason the local override existed. The override now overrides nothing.
1 parent 704c008 commit 2e41d4a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

vite.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ const repoOverrides: OxlintConfig = {
1515
// Single-use type parameters in exported hooks are public API --
1616
// removing one changes the generic arity and breaks explicit callers.
1717
'typescript/no-unnecessary-type-parameters': 'off',
18-
// The base rule lacks typescript/require-await's exemption for async
19-
// functions that return a promise, which promise-function-async and
20-
// typescript/return-await force into exactly that shape. The
21-
// type-aware variant stays on.
22-
'require-await': 'off',
2318
},
2419
overrides: [
2520
{

0 commit comments

Comments
 (0)