From 752ab4f1ed28287741c0726f683b56630ac2da55 Mon Sep 17 00:00:00 2001 From: lipemat Date: Wed, 10 Apr 2024 09:34:04 -0400 Subject: [PATCH] Lock eslint-plugin-jsx-ally to version 6.7.1 Version 6.8.0 has false positives https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/966 A form label must be associated w ith a control jsx-a11y/label-has-associated-cont rol --- package.json | 3 ++- yarn.lock | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 93fc5d0..c1fb158 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "dependencies": { "@wordpress/eslint-plugin": "^12.2.0", "eslint": "^8", - "eslint-plugin-deprecation": "^2.0.0" + "eslint-plugin-deprecation": "^2.0.0", + "eslint-plugin-jsx-a11y": "6.7.1" }, "devDependencies": { "@lipemat/js-boilerplate": "^10.3.1", diff --git a/yarn.lock b/yarn.lock index e82273d..cd4def9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2125,6 +2125,7 @@ __metadata: "@wordpress/eslint-plugin": "npm:^12.2.0" eslint: "npm:^8" eslint-plugin-deprecation: "npm:^2.0.0" + eslint-plugin-jsx-a11y: "npm:6.7.1" jest: "npm:^29" typescript: "npm:^5.1.6" peerDependencies: @@ -5572,7 +5573,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsx-a11y@npm:^6.5.1": +"eslint-plugin-jsx-a11y@npm:6.7.1, eslint-plugin-jsx-a11y@npm:^6.5.1": version: 6.7.1 resolution: "eslint-plugin-jsx-a11y@npm:6.7.1" dependencies: