Commit 28c7baf
chore: disable overzealous promise lint rules (#2665)
Disable `promise/avoid-new` and `promise/prefer-await-to-callbacks`
which produce false positives in frontend codebases where `new Promise()`
and callback-style APIs are unavoidable. Remove now-unnecessary
suppress comment in error-test page.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 09e9dd4 commit 28c7baf
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments