File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
"react-hooks/rules-of-hooks": "off",
8
8
"no-console": "off",
9
9
"import/no-unresolved": "off",
10
- "@typescript-eslint/no-floating-promises": "off"
10
+ "@typescript-eslint/no-floating-promises": "off",
11
+ "@typescript-eslint/no-unnecessary-condition": ["error", { "allowConstantLoopConditions": true }]
11
12
},
12
13
"parserOptions": {
13
14
"project": ["./tsconfig.json", "./test/tsconfig.json"]
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ function asyncUtils(addResolver: (callback: () => void) => void) {
60
60
61
61
const waitForResult = async ( ) => {
62
62
const initialTimeout = timeout
63
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
64
63
while ( true ) {
65
64
const startTime = Date . now ( )
66
65
try {
You can’t perform that action at this time.
0 commit comments