pi-cloudflare 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -341,9 +341,6 @@ A Promise that is not `await`ed, `return`ed, or passed to `ctx.waitUntil()` is a
|
|
|
341
341
|
**Check**: every `fetch()`, `env.*.put()`, `env.*.send()`, and any other async call is handled. Enable `no-floating-promises` lint rule.
|
|
342
342
|
|
|
343
343
|
```bash
|
|
344
|
-
# ESLint
|
|
345
|
-
npx eslint --rule '{"@typescript-eslint/no-floating-promises": "error"}' src/
|
|
346
|
-
|
|
347
344
|
# oxlint
|
|
348
345
|
npx oxlint --deny typescript/no-floating-promises src/
|
|
349
346
|
```
|