An ESLint plugin providing a preprocessor to lint JSON5 files using standard ESLint rules for JavaScript objects. The plugin works by treating JSON5 files as JavaScript object literals, allowing all standard ESLint rules (e.g., no-undef, quotes) to apply. Current stable version is 0.1.4, with no major updates since 2020. It supports ESLint 3-8 via broad peer dependency range. Key differentiator: avoids writing separate JSON5-specific rules by reusing existing ESLint infrastructure. No TypeScript support, no monorepo integration, no file watching improvements. Last released May 2020.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Plugin is a default export. CommonJS require works but may not be detected by some bundlers. Since the plugin ships a single default export, named import fails.
When using .eslintrc.js, the plugin string should be just 'json5', not the full package name. This is a common ESLint plugin gotcha.
Named export 'processors' is available. Default export also has .processors property. Prefer named import for clarity.
Shows how to install and configure the plugin, then lint a JSON5 file with standard rules like no-undef and quotes.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.