JSON5 Config Files

Using JSON5 for configuration files in popular tools and frameworks.

TL;DR: Many popular tools support JSON5 or JSON with comments for their config files. This hub page links to specific guides for each tool showing how to add comments and use JSON5 features.

DevOps & Infrastructure

Configuration for containers, cloud, and serverless deployments.

JSON5 Support Matrix

Which tools support JSON5 features natively.

Tool Comments Trailing Commas Full JSON5 Config File
TypeScript tsconfig.json
Babel .json5
ESLint .json5
VS Code settings.json
webpack Via loader
Vite Via plugin
npm Strict JSON

Need Help With a Specific Tool?

Start with our most popular guide or explore all configuration options.