Supported File Types
| Format | Extensions | Syntax | Schema |
|---|---|---|---|
| JSON | .json | ✅ | ✅ |
| JSONC | .jsonc | ✅ | ✅ |
| YAML | .yaml, .yml | ✅ | ✅ |
| TOML | .toml | ✅ | ✅ |
| XML | .xml | ✅ | ✅ |
| TOON | .toon | ✅ | ✅ |
| SARIF | .sarif | ✅ | ✅ |
| HCL | .hcl, .tf | ✅ | — |
| INI | .ini, .cfg | ✅ | — |
| HOCON | .conf | ✅ | — |
| ENV | .env | ✅ | — |
| CSV | .csv | ✅ | — |
| Properties | .properties | ✅ | — |
| EDITORCONFIG | .editorconfig | ✅ | — |
| Justfile | justfile, .justfile | ✅ | — |
| Apple PList XML | .plist | ✅ | — |
Schema types
- JSON, JSONC, YAML, TOML, and TOON files are validated against JSON Schema.
- XML files are validated against XSD (XML Schema Definition).
- SARIF files are validated against a built-in schema matched to the file's version field.
File type families
jsonincludes both JSON and JSONC for filtering purposes (--file-types,--exclude-file-types).yamlincludes both.yamland.yml.
Known files
Many files are recognized by filename regardless of extension. See Known Files.