diff --git a/index.js b/index.js index 708bf2c..9fa76ba 100644 --- a/index.js +++ b/index.js @@ -26,7 +26,7 @@ module.exports = { "plugin:import/recommended", "plugin:import/typescript", "plugin:jest/recommended", - "plugin:json/recommended-legacy", + "plugin:json/recommended", "plugin:node/recommended", "plugin:prettier/recommended", "plugin:sonarjs/recommended-legacy", diff --git a/legacy.js b/legacy.js index ee6ca0a..9fc01a7 100644 --- a/legacy.js +++ b/legacy.js @@ -26,7 +26,7 @@ module.exports = { "plugin:import/recommended", "plugin:import/typescript", "plugin:jest/recommended", - "plugin:json/recommended-legacy", + "plugin:json/recommended", "plugin:node/recommended", "plugin:prettier/recommended", "plugin:sonarjs/recommended-legacy", diff --git a/package-lock.json b/package-lock.json index 8088801..9c56f26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-import": "2.29.1", "eslint-plugin-jest": "28.6.0", - "eslint-plugin-json": "4.0.0", + "eslint-plugin-json": "3.1.0", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-simple-import-sort": "12.1.1", @@ -2810,15 +2810,15 @@ } }, "node_modules/eslint-plugin-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-json/-/eslint-plugin-json-4.0.0.tgz", - "integrity": "sha512-l/P3WTzl2HI8PbwsbDIrZ+6jvwQI4TGuz20ReJkG3Y+gZS5ZurTgx+gBmuLpOgiqMyDJWyJ7+GCjevWtNYQcUg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-json/-/eslint-plugin-json-3.1.0.tgz", + "integrity": "sha512-MrlG2ynFEHe7wDGwbUuFPsaT2b1uhuEFhJ+W1f1u+1C2EkXmTYJp4B1aAdQQ8M+CC3t//N/oRKiIVw14L2HR1g==", "dependencies": { "lodash": "^4.17.21", "vscode-json-languageservice": "^4.1.6" }, "engines": { - "node": ">=18.0" + "node": ">=12.0" } }, "node_modules/eslint-plugin-node": { @@ -8490,9 +8490,9 @@ } }, "eslint-plugin-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-json/-/eslint-plugin-json-4.0.0.tgz", - "integrity": "sha512-l/P3WTzl2HI8PbwsbDIrZ+6jvwQI4TGuz20ReJkG3Y+gZS5ZurTgx+gBmuLpOgiqMyDJWyJ7+GCjevWtNYQcUg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-json/-/eslint-plugin-json-3.1.0.tgz", + "integrity": "sha512-MrlG2ynFEHe7wDGwbUuFPsaT2b1uhuEFhJ+W1f1u+1C2EkXmTYJp4B1aAdQQ8M+CC3t//N/oRKiIVw14L2HR1g==", "requires": { "lodash": "^4.17.21", "vscode-json-languageservice": "^4.1.6" diff --git a/package.json b/package.json index 79657c9..b96bf8d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-import": "2.29.1", "eslint-plugin-jest": "28.6.0", - "eslint-plugin-json": "4.0.0", + "eslint-plugin-json": "3.1.0", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-simple-import-sort": "12.1.1",