ESLint plugin for validating JSON files. Version 1.0.3 (last updated in 2016, no releases since). Lightweight alternative to eslint-plugin-json, which required downloading PhantomJS (~22MB). This plugin has zero dependencies and simply parses JSON files to report syntax errors. Key differentiator is its minimal footprint, but it lacks features like auto-fix or extended syntax checks. Suitable for basic JSON linting in ESLint workflows.
npm install eslint-plugin-json-lightVerified import paths — ran on the pinned version, not inferred.
Shows installation and configuration to lint JSON files with ESLint.
If you need JSON rules, consider eslint-plugin-json or write custom rules.
Migrate to eslint-plugin-jsonc (supports comments) or other actively maintained plugins.
Add 'json-light' to plugins, not 'eslint-plugin-json-light'.
Run: npm install eslint-plugin-json-light --save-dev
Fix the JSON syntax in the file.
Run: eslint . --ext .json or configure lint-staged to include *.json
No dependency data recorded yet.