Skip to content

Commit 01e413d

Browse files
fix: turn off promise-function-async
requiring all promise returning functions to be async adds overhead
1 parent 807acf4 commit 01e413d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const settings: Linter.Config = {
181181
"@typescript-eslint/prefer-regexp-exec": "error",
182182
"@typescript-eslint/prefer-string-starts-ends-with": "warn",
183183
"@typescript-eslint/prefer-ts-expect-error": "warn",
184-
"@typescript-eslint/promise-function-async": "error",
184+
"@typescript-eslint/promise-function-async": "off",
185185
"@typescript-eslint/restrict-plus-operands": [
186186
"error",
187187
{

0 commit comments

Comments
 (0)