gadget namespace.
| Preset | Description |
|---|---|
recommended | Three critical rules at error, the rest at warn. Good default for most projects. |
strict | Every rule at error. Use when you want the full set to block CI. |
Severity matrix
Options and params
| Rule | Recommended | Strict |
|---|---|---|
action-no-invalid-options | error | error |
action-no-invalid-params | error | error |
action-no-invalid-timeout-ms | error | error |
action-require-explicit-return-type | warn | error |
action-require-timeout-ms-comment | warn | error |
global-action-no-action-type | warn | error |
model-action-invalid-action-type | warn | error |
model-action-no-invalid-trigger | warn | error |
model-action-no-transactional-timeout-mismatch | warn | error |
Runtime safety
| Rule | Recommended | Strict |
|---|---|---|
action-no-await-handle-result-in-action | warn | error |
action-no-empty-on-success | warn | error |
action-no-return-value-in-on-success | warn | error |
action-require-action-run-type | warn | error |
action-require-run-with-on-success | warn | error |
Enqueue safety
| Rule | Recommended | Strict |
|---|---|---|
action-no-enqueue-max-concurrency-exceeded | warn | error |
action-no-implicit-enqueue-retries | warn | error |