Skip to content

Commit abeab1a

Browse files
fix: turn off prefer-await-to-then
this only catches cases where await can't easily be used
1 parent 78150eb commit abeab1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/promise.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const settings: Linter.Config = {
1111
"promise/no-promise-in-callback": "error",
1212
"promise/no-return-in-finally": "error",
1313
"promise/prefer-await-to-callbacks": "warn",
14-
"promise/prefer-await-to-then": "warn",
14+
"promise/prefer-await-to-then": "off",
1515
"promise/valid-params": "error",
1616
},
1717
};

0 commit comments

Comments
 (0)