This rule disallows theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/aurelienbobenrieth/gadget/llms.txt
Use this file to discover all available pages before exploring further.
actionType property in global action options. The actionType property is only valid for model actions. Including it in global actions has no effect and may cause confusion.
Rule Details
This rule checks global action files (files inapi/actions/) for the actionType property in the options export and reports an error if found.
Severity: Error
Auto-fixable: Yes
Examples
Incorrect
Correct
Auto-fixes
The rule automatically removes theactionType property:
When to Use
This rule is included in therecommended config and should always be enabled for Gadget projects. It prevents invalid configuration that could cause confusion or unexpected behavior.