Skip to main content
RecommendedStrictAuto-fixableScope
warnerrorfalseAll files (any file containing api.enqueue() calls)
Related Gadget documentation: Gadget docs
What the linter reports:
Set api.enqueue retries explicitly. Gadget defaults to 6.

Examples

api/models/widget/actions/create.ts
// missing retries option - Gadget silently defaults to 6 retries
api.enqueue(api.publish, {});
Last modified on March 10, 2026