Skip to content

Commit 0ff302c

Browse files
committed
Publish v4.0 with Flat Config support
- 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
1 parent 2e68d76 commit 0ff302c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ test
22
examples
33
private
44
tmp
5+
coverage
56
.npmignore
67
.eslintrc
78
.github
89
.vscode
910
.nycrc
1011
.eslintignore
12+
vendor

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

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

1312
## Installation
1413

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-json",
3-
"version": "3.1.0",
3+
"version": "4.0.0",
44
"description": "eslint plugin for JSON files",
55
"keywords": [
66
"eslint",
@@ -22,7 +22,7 @@
2222
},
2323
"repository": {
2424
"type": "git",
25-
"url": "https://github.com/azeemba/eslint-plugin-json"
25+
"url": "git+https://github.com/azeemba/eslint-plugin-json.git"
2626
},
2727
"bugs": {
2828
"url": "https://github.com/azeemba/eslint-plugin-json/issues"
@@ -43,7 +43,7 @@
4343
"prettier": "^2.3.2"
4444
},
4545
"engines": {
46-
"node": ">=12.0"
46+
"node": ">=18.0"
4747
},
4848
"url": "https://github.com/azeemba/eslint-plugin-json",
4949
"license": "MIT"

0 commit comments

Comments
 (0)