Skip to main content
The plugin does not lint every file. Most rules activate only on Gadget action file paths, so they stay silent in the rest of your codebase.

File path detection

The plugin matches file paths using these glob patterns: A file matching either pattern is considered a “Gadget action file.” Windows backslash paths are normalized before matching.

Scope by rule prefix

Each rule reference page includes a Scope label so you can see exactly where it applies.

Why enqueue rules apply everywhere

The two enqueue rules - action-no-enqueue-max-concurrency-exceeded and action-no-implicit-enqueue-retries - inspect api.enqueue(...) call expressions directly. They apply to all files because enqueue calls can appear in utility modules, route handlers, or background jobs outside the standard action directories.

Examples

Last modified on March 10, 2026