Skip to content
PluginStats

@eslint/json weekly downloads statistics

By eslint (6 listings) · npm · ESLint plugins

JSON linting plugin for ESLint

View on npm Fresh · Oct 17, 2026

@eslint/json has 376,377 recorded weekly downloads on npm, a decrease of 47.0% over the past 30 days.

It ranks #278 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -48.6%.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
376,377
Official API · Oct 17, 2026
7-day growth
-51.2%
-394.2K weekly downloads
30-day growth
-47.0%
-334.1K weekly downloads
90-day growth
-48.6%
-356.2K weekly downloads
Rank
#278
Among tracked npm listings

About @eslint/json

ESLint JSON Language Plugin

Overview

This package contains a plugin that allows you to natively lint JSON, JSONC, and JSON5 files using ESLint.

Important: This plugin requires ESLint v9.15.0 or higher and you must be using the new configuration system.

Installation

You can install ESLint using npm or other package managers:

Then, for Node.js and compatible runtimes:

For Deno:

Usage

This package exports these languages:

• "json/json" is for regular JSON files • "json/jsonc" is for JSON files that support comments (JSONC) such as those used for Visual Studio Code configuration files • "json/json5" is for JSON5 files

Depending on which types of JSON files you'd like to lint, you can set up your eslint.config.js file to include just the files you'd like. Here's an example that lints JSON, JSONC, and JSON5 files:

In CommonJS format:

Recommended Configuration

To use the recommended configuration for this plugin, specify your matching files and then use the extends: ["json/recommended"] property, like this:

Note: You generally want to ignore package-lock.json because it is auto-generated and you typically will not want to manually make changes to it.

Rules

| Rule Name | Description | Recommended |

| no-duplicate-keys | Disallow duplicate keys in JSON objects | yes | | no-empty-keys | Disallow empty keys in JSON objects | yes | | no-unnormalized-keys | Disallow JSON keys that are not normalized | yes | | no-unsafe-values | Disallow JSON values that are unsafe for interchange | yes | | sort-keys | Require JSON object keys to be sorted | no | | top-level-interop | Require the JSON top-level value to be an array or object | no |

Configuration Comments

In JSONC and JSON5 files, you can also use rule configurations comments and disable directives.

Both line and block comments can be used for all kinds of configuration comments.

Allowing trailing commas in JSONC

The Microsoft implementation of JSONC optionally allows for trailing commas in objects and arrays (files like tsconfig.json have this option enabled by default in Visual Studio Code). To enable trailing commas in JSONC files, use the allowTrailingCommas language option, as in this example:

Note: The allowTrailingCommas option is only valid for the json/jsonc language.

Frequently Asked Questions

How does this relate to eslint-plugin-json and eslint-plugin-jsonc?

This plugin implements JSON parsing for ESLint using the language plugins API, which is the official way of supporting non-JavaScript languages in ESLint. This differs from the other plugins:

• eslint-plugin-json uses a processor to parse the JSON, meaning it doesn't create an AST and you can't write custom rules for it. • eslint-plugin-jsonc uses a parser that still goes through the JavaScript linting functionality and requires several rules to disallow valid JavaScript syntax that is invalid in JSON.

As such, this plugin is more robust and faster than the others. You can write your own custom rules when using the languages in this plugin, too.

What about missing rules that are available in eslint-plugin-json and eslint-plugin-jsonc?

Most of the rules in eslint-plugin-json are actually syntax errors that are caught automatically by the parser used in this plugin.

Similarly, many of the rules in eslint-plugin-jsonc specifically disallow valid JavaScript syntax that is invalid in the context of JSON. These are also automatically caught by the parser in this plugin.

Any other rules that catch potential problems in JSON are welcome to be implemented. You can open an issue to propose a new rule.

Editor and IDE Setup

Visual Studio Code

First, ensure you have the ESLint plugin installed.

Then, edit eslint.validate in your settings.json file to include json, jsonc, and json5:

JetBrains WebStorm

For any JetBrains WebStorm, configure the ESLint scope to include json, jsonc, and json5, such as:

License

Apache 2.0

Sponsors

The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. Become a Sponsor to get your logo on our READMEs and website.

Gold Sponsors

Silver Sponsors

Bronze Sponsors

Technology Sponsors

Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.

Description from the npm listing.

  • eslint
  • eslint-plugin
  • eslintplugin
  • json
  • linting

Where @eslint/json sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 14, #18 (overall #278)
All npm: every listing in weekly downloads order
PNG SVG
ESLint plugins252 listings · 13 pages · page 4, #1 (overall #61)
ESLint plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@eslint/json weekly downloads on npm, last 90 days: 376,377 weekly downloads as of Oct 17, 2026, -48.6% over 90 days.@eslint/jsonWeekly downloads on npm · Last 90 days376,377downloads / week-48.6% over 90 days300K400K500K600K700K800K900K1MJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
@eslint/json weekly downloads on npm, last 90 days: 376,377 weekly downloads as of Oct 17, 2026, -48.6% over 90 days.
PNG SVG

7/30/90-day growth

@eslint/json weekly downloads growth on npm: -51.2% over 7 days, -47.0% over 30 days, -48.6% over 90 days.@eslint/jsonWeekly downloads growth on npm376,377downloads / week now7-day growth-394,165 weekly downloads-51.2%30-day growth-334,142 weekly downloads-47.0%90-day growth-356,204 weekly downloads-48.6%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@eslint/json weekly downloads growth on npm: -51.2% over 7 days, -47.0% over 30 days, -48.6% over 90 days.
PNG SVG

Ranking history

@eslint/json npm ranking history: currently #278 (by weekly downloads).@eslint/jsonnpm ranking · by weekly downloads · Last 90 days#278current rank#50#100#150#200#250#300Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@eslint/json npm ranking history: currently #278 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (543)
Recent weekly downloads observations for @eslint/json
Date (UTC)Weekly downloadsChange vs. previous
376,377-64.7K
441,105+4.6K
436,520-168K
604,539-173K
777,4940
777,494+1.3K
776,210+5.7K
770,542+5.4K
765,130-5.9K
770,980-1.8K
772,743-2.7K
775,461-190.2K
965,626-20.2K
985,843—

Similar npm ESLint plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@eslint/json. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.