What the linter reports:
Add an inline duration comment to timeoutMS.
Examples
- Incorrect
- Correct
api/models/widget/actions/create.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Require a trailing inline comment describing the duration on the timeoutMS property in Gadget action options.
| Recommended | Strict | Auto-fixable | Scope |
|---|---|---|---|
| warn | error | true | Gadget action files |
Add an inline duration comment to timeoutMS.
export const options: ActionOptions = {
// missing inline duration comment
timeoutMS: 50000,
};
export const options: ActionOptions = {
timeoutMS: 50000, // 50 seconds
};
Was this page helpful?