Check config files against their schemas
validate_configValidates JSON, JSONC, YAML and TOML config files against official SchemaStore schemas, flagging errors with line, path, allowed values and likely key typos.
Instructions
Checks config files against their official JSON Schema from SchemaStore (1,400+ kinds, chosen by file name: tsconfig.json, package.json, docker-compose.yml, .github/workflows/*.yml, pyproject.toml...). JSON, JSONC, YAML, TOML. Each error has its line, path, the allowed values and the key probably meant; also warns on likely misspelt and deprecated settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| schema | No | use this schema for every file: a name, file name or URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| valid | Yes | ||
| invalid | Yes |