ESLint Plugin for JSON Files
JSON →eslint-plugin-json-es provides a robust JSON parser for ESLint, enabling developers to lint JSON files using many standard ESLint rules. The current stable version is `1.6.0`, with a release cadence that includes regular dependency updates and feature additions. A key differentiator of this plugin is its use of ESLint's internal `espree` parser, which allows it to leverage a significant number of existing ESLint rules directly on JSON content. This contrasts with alternatives like `eslint-plugin-json` that rely on VSCode's JSON validation and offer less extensibility, or `eslint-plugin-jsonc` which uses custom AST node types. It supports autofixing and custom rules, making it a versatile choice for integrating JSON linting into an existing ESLint workflow.
Traffic · last 30 days ↑200% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇸🇬 Singapore