plugin-json-valid¶
plugin.json must be valid JSON with required fields
| Severity | error (auto) |
| Autofix | - |
| Since | v0.1.0 |
| Repo Types | marketplace, single-plugin |
| Category | Plugin Structure |
Why¶
plugin.json is the plugin manifest — if it contains invalid JSON or
is missing required fields, the plugin cannot be loaded. The host
application uses this file to register the plugin's name, version,
and capabilities.
Examples¶
Bad:
Good:
How to fix¶
Fix the JSON syntax error or add the missing required fields
identified in the violation message. Required fields are name,
description, and version.
Configuration¶
| Parameter | Description | Default |
|---|---|---|
recommended-fields |
Fields that trigger a warning if missing from plugin.json | ["description", "version", "author"] |
Run skillsaw explain plugin-json-valid to see this documentation and the rule's effective configuration in your terminal.