Skip to main content

Supported File Types

FormatExtensionsSyntaxSchema
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✅—
Justfilejustfile, .justfile✅—
KDL.kdl✅—
CUE.cue✅—
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​

  • json includes both JSON and JSONC for filtering purposes (--file-types, --exclude-file-types).
  • yaml includes both .yaml and .yml.

Known files​

Many files are recognized by filename regardless of extension. See Known Files.