eslint-plugin-json-files weekly downloads statistics
By kellyselden · npm · ESLint plugins
ESLint JSON processor and rules
eslint-plugin-json-files has 32,306 recorded weekly downloads on npm, an increase of 18.5% over the past 30 days, ranking #908 of 3,247 tracked listings.
About eslint-plugin-json-files
eslint-plugin-json-files
ESLint JSON processor and rules
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-json-files:
$ npm install eslint-plugin-json-files --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-json-files globally.
Usage
Add json-files to the plugins and processor section of your eslint.config.js configuration file.
You can omit the eslint-plugin- prefix:
const jsonFiles = require('eslint-plugin-json-files');
// ...
{
plugins: {
'json-files': jsonFiles,
},
processor: 'json-files/json',
}
Then configure the rules you want to use under the rules section.
{
rules: {
'json-files/rule-name': 'error',
},
}
Supported Rules
| Rule ID | Description |
|---|---|
| json-files/ensure-repository-directory | ensure repository/directory in package.json |
| json-files/ensure-volta-extends | ensure volta-extends in package.json |
| json-files/ensure-workspaces | ensure workspace globs in package.json resolve to directories |
| json-files/eol-last | require or disallow newline at the end of package.json |
| json-files/no-branch-in-dependencies | prevent branches in package.json dependencies |
| json-files/require-engines | require the engines field in package.json |
| json-files/require-license | require a license in package.json |
| json-files/require-unique-dependency-names | prevent duplicate packages in dependencies and devDependencies |
| json-files/restrict-ranges | restrict the dependency ranges in package.json |
| json-files/sort-package-json | enforce package.json sorting |
| json-files/validate-schema | require a valid JSON Schema |
Footnotes
I wouldn't mind getting this merged into eslint-plugin-node or eslint-plugin-json.
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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.
Each band is one page of 20. Weekly downloads on a linear 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.
Recent observations
Full history (170)Similar npm ESLint plugins plugins
All 20 eslint-plugin-json-files alternativesData 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-plugin-json-files. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.