JSON6 Config Files

Using JSON6 for configuration files in popular tools and frameworks.

TL;DR: Many popular tools support JSON6 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 JSON6 features.

DevOps & Infrastructure

Configuration for containers, cloud, and serverless deployments.

JSON6 Support Matrix

Which tools support JSON6 features natively.

Tool Comments Trailing Commas Full JSON6 Config File
TypeScript tsconfig.json
Babel .json6
ESLint .json6
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.