Skip to content

Commit

Permalink
Publish v4.0 with Flat Config support
Browse files Browse the repository at this point in the history
- Updated .npmignore to not include `vendor` since its only needed for
  testing
- Added an explicit comment in the README to use v4 for newer eslints
- Updated package version
- Fixed git URL via `npm pkg fix`
- Bumped up node support version to the last supported LTS
  • Loading branch information
azeemba committed May 26, 2024
1 parent 2e68d76 commit 0ff302c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ test
examples
private
tmp
coverage
.npmignore
.eslintrc
.github
.vscode
.nycrc
.eslintignore
vendor
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

> Eslint plugin for JSON files
:warning: Starting from **major 2.0**, rules **need to be explicitly activated**.
[See **here** the minimal config to add](#basic-configuration) :rotating_light:
:warning: If you are using eslint v9 or newer, use eslint-plugin-json v4 or newer.

## Installation

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-json",
"version": "3.1.0",
"version": "4.0.0",
"description": "eslint plugin for JSON files",
"keywords": [
"eslint",
Expand All @@ -22,7 +22,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/azeemba/eslint-plugin-json"
"url": "git+https://github.com/azeemba/eslint-plugin-json.git"
},
"bugs": {
"url": "https://github.com/azeemba/eslint-plugin-json/issues"
Expand All @@ -43,7 +43,7 @@
"prettier": "^2.3.2"
},
"engines": {
"node": ">=12.0"
"node": ">=18.0"
},
"url": "https://github.com/azeemba/eslint-plugin-json",
"license": "MIT"
Expand Down

0 comments on commit 0ff302c

Please sign in to comment.