Skip to content

Commit

Permalink
eslint: Remove jsx-a11y/label-has-associated-control override (#39736)
Browse files Browse the repository at this point in the history
`@wordpress/eslint-plugin` sets `jsx-a11y/label-has-associated-control`
to "htmlFor", while we had it overridden to "either". Turns out there
was only place that wasn't already doing "htmlFor", so let's fix that
one place and go for it.

This also removes `jsx-a11y/label-has-for` which is deprecated in favor
of `jsx-a11y/label-has-associated-control`. The former config was
equivalent to "either".

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11281457159

Upstream-Ref: Automattic/jetpack@89f5928
  • Loading branch information
anomiex authored and matticbot committed Oct 10, 2024
1 parent b3e3a64 commit 70bf1ad
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 85 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '12affa0b12fd7b5a0a81');
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'fb2f302b8f26d769a6e0');

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jetpack_vendor/i18n-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
),
'jetpack-search-pkg' => array(
'path' => 'jetpack_vendor/automattic/jetpack-search',
'ver' => '0.45.8-alpha1728575216',
'ver' => '0.45.8-alpha1728591908',
),
'jetpack-stats' => array(
'path' => 'jetpack_vendor/automattic/jetpack-stats',
Expand Down
60 changes: 30 additions & 30 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats",
"reference": "29da586958ce9d500e42e2075bacf3cf69e3b509"
"reference": "334947e78bc63cba7e0f0094aba30195d990b200"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -60,7 +60,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui",
"reference": "247c7b530af7620e8e6171086277f358324e5be4"
"reference": "462c2931985dd808af828394e5a58d0284d0f33a"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -125,7 +125,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
"reference": "0dd383e7eb599273d065f6742b84f362e161737e"
"reference": "547261886c9297cf5b4523964fb36d9609ef0e7b"
},
"require": {
"automattic/jetpack-constants": "^2.0.4",
Expand Down Expand Up @@ -194,7 +194,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-autoloader",
"reference": "834b0745e0c17325463c3c9c7b15eb11abab49db"
"reference": "68632d1505c96e8b158327a9a7c3168bdd3917c1"
},
"require": {
"composer-plugin-api": "^1.1 || ^2.0",
Expand Down Expand Up @@ -261,7 +261,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-core",
"reference": "56303cfee6cbbe68c9aa60468e566ca3c08c2602"
"reference": "62691a6aea6119ffdac060e9cb65ece1edcd2aa1"
},
"require": {
"automattic/jetpack-connection": "^5.1.3",
Expand Down Expand Up @@ -329,7 +329,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score",
"reference": "aedcf81a2945674b8769494af1147e869909c452"
"reference": "2baea3a7198d870ad3f24e9651950eb9a6940bfb"
},
"require": {
"automattic/jetpack-boost-core": "^0.2.12",
Expand Down Expand Up @@ -405,7 +405,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin",
"reference": "929fac5f805c7ff5369b821dd315827141d3ee78"
"reference": "df9843672e1e05bff8c47bf52f804bf7c93a2292"
},
"require": {
"composer-plugin-api": "^2.1.0",
Expand Down Expand Up @@ -465,7 +465,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-config",
"reference": "0aabe7c5a2362254012795035f5d8fa4cdf3c141"
"reference": "8020d51d9911648ea02957b28c82d0dc1628429b"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -540,7 +540,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-connection",
"reference": "8440a9868230e5b50769ceaeec8d097f48a8e99d"
"reference": "ca03e85e86b7486fb808e3114b85481df6a0c50e"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^2.0.3",
Expand Down Expand Up @@ -630,7 +630,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
"reference": "833cd5aa51981f947d5bcc1a014fb52d857682ce"
"reference": "8bdfc77c77490a3078ea7ac259b4aeb64c68aaf1"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -684,7 +684,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
"reference": "0e62e6d959e6f0480dcbeb19aca4d2f256968111"
"reference": "7c2312e2a36d5b78b56f4d64dbde024886b2691c"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -737,7 +737,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-explat",
"reference": "d138d08c4932941e9adb0592bf0602255f60cbac"
"reference": "78da39daa3cf1c271e04f9af9f96792b13927857"
},
"require": {
"automattic/jetpack-connection": "^5.1.3",
Expand Down Expand Up @@ -812,7 +812,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-ip",
"reference": "64caf0ae8193157e295721394e8bf1067f1ba017"
"reference": "648a70406a518ec95bf3b2e85c422a2c6fa81d55"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -870,7 +870,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-jitm",
"reference": "a47b42653e81a7fdd0baaf2eeb94244df08811f5"
"reference": "4bc9e9b7e6cc931cab458b2816f5a972da5a57c4"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^2.0.3",
Expand Down Expand Up @@ -945,7 +945,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-licensing",
"reference": "ee81cdfc6ac72de4bc19aeb67e38bf0561a1894b"
"reference": "02f74f0d574ed07f87ae67e800e7994b7f870c3a"
},
"require": {
"automattic/jetpack-connection": "^5.1.3",
Expand Down Expand Up @@ -1007,7 +1007,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-logo",
"reference": "a2b135612bfa24d2ca2b57197aeb78dcfd905823"
"reference": "7b3cd0cc6d8b1fc5dc6bea2bb063ea2a2c4ab10e"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1060,7 +1060,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack",
"reference": "d1f2a066f91689382667df76e498d85f15bbd7f1"
"reference": "a823d51c0db8de9b7f0088c6f908ebc415774907"
},
"require": {
"automattic/jetpack-admin-ui": "^0.4.5",
Expand Down Expand Up @@ -1162,7 +1162,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-password-checker",
"reference": "86ea5390541e87931072c2e17532a1cb93fb14ee"
"reference": "c35feca68107393ac9bceff0f6173e6a31222000"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1223,7 +1223,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plans",
"reference": "c01b507a5c0ccb9359cd9610ceafd30d044e4ca3"
"reference": "a283bf19c25422503444bdd0aa2812dcd1dad4d0"
},
"require": {
"automattic/jetpack-connection": "^5.1.3",
Expand Down Expand Up @@ -1291,7 +1291,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer",
"reference": "e2fecb1de375ee4fa3eef864fb96503501b5f2f8"
"reference": "32241db784a016a82f0467a82c43ec13dc799d21"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^2.0.3",
Expand Down Expand Up @@ -1347,7 +1347,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-models",
"reference": "162b21ebe1df7a54a32324c9970fe81700f79e47"
"reference": "a6b941e325071bb78605b94f904c3a12330108ad"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1417,7 +1417,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-status",
"reference": "8be905710d72fd419fe59d101add744bbbd8c9db"
"reference": "c661651bc1e1dbf5822eaa6962895d62bb4ee29a"
},
"require": {
"automattic/jetpack-connection": "^5.1.3",
Expand Down Expand Up @@ -1492,7 +1492,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-redirect",
"reference": "b9944f4c2b0dadb8ac47892288cdd289f505b7d4"
"reference": "dde146d4505810000940bf7814a539f67414774b"
},
"require": {
"automattic/jetpack-status": "^4.0.2",
Expand Down Expand Up @@ -1547,7 +1547,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-roles",
"reference": "ec1b16e5649784f6f73f774d195b13cf0f9673ab"
"reference": "59d01a514bbab3dcaff08df242930dc8aa54e34d"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1596,12 +1596,12 @@
},
{
"name": "automattic/jetpack-search",
"version": "0.45.8-alpha.1728575216",
"version_normalized": "0.45.8.0-alpha1728575216",
"version": "0.45.8-alpha.1728591908",
"version_normalized": "0.45.8.0-alpha1728591908",
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-search",
"reference": "e8767dd6e7b8eb03356b984aebc11ed35813a46b"
"reference": "efa032eedc3d319161326905e3b1e186d21a0e91"
},
"require": {
"automattic/jetpack-assets": "^2.3.10",
Expand Down Expand Up @@ -1689,7 +1689,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-stats",
"reference": "5d46058efffe85323cf910bd17faf3c5b86c9c5e"
"reference": "bb5a2becfe39a7e0207369fe051e5e3ce4c01b15"
},
"require": {
"automattic/jetpack-connection": "^5.1.3",
Expand Down Expand Up @@ -1756,7 +1756,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-status",
"reference": "0fe8c68175cc2669722022686da2ab1921b966f6"
"reference": "bf8f3d43e0521aaa2c6d59a9f0d7e496e48c50dc"
},
"require": {
"automattic/jetpack-constants": "^2.0.4",
Expand Down Expand Up @@ -1820,7 +1820,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-sync",
"reference": "855ed8d336c6fc2dbcf7d468bc8d857b4afae2ef"
"reference": "2ea4f74c5ee8a64b2d8f354b7d5c55430a1d9b6e"
},
"require": {
"automattic/jetpack-connection": "^5.1.3",
Expand Down
Loading

0 comments on commit 70bf1ad

Please sign in to comment.