Skip to main content
Related Gadget documentation: Gadget docs
What the linter reports:
  • Option keys must be plain identifiers or string literals.
  • Option values must be JSON-serializable literals.
  • Numeric separator raw is not valid JSON. Use fixed.
  • Shorthand properties are not allowed in options.

Examples

api/models/widget/actions/create.ts
Last modified on March 10, 2026