diff --git a/.syncpackrc b/.syncpackrc index 92924797133..3a29fb5af7d 100644 --- a/.syncpackrc +++ b/.syncpackrc @@ -75,11 +75,9 @@ }, { "dependencies": [ - "@wordpress/eslint-plugin", "@wordpress/babel-plugin-import-jsx-pragma", "@wordpress/babel-preset-default", "@wordpress/stylelint-config", - "@wordpress/prettier-config", "@wordpress/scripts", "@wordpress/jest-console", "@wordpress/dependency-extraction-webpack-plugin", @@ -115,6 +113,24 @@ ], "isIgnored": true }, + { + "dependencies": [ + "@wordpress/prettier-config" + ], + "packages": [ + "**" + ], + "pinVersion": "2.17.0" + }, + { + "dependencies": [ + "@wordpress/eslint-plugin" + ], + "packages": [ + "**" + ], + "pinVersion": "14.7.0" + }, { "dependencies": [ "@wordpress/env" diff --git a/package.json b/package.json index dc0cc55d9b0..174978b240c 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "@types/node": "^16.18.18", "@woocommerce/eslint-plugin": "workspace:*", "@wordpress/data": "wp-6.0", - "@wordpress/eslint-plugin": "^11.1.0", - "@wordpress/prettier-config": "^1.4.0", + "@wordpress/eslint-plugin": "14.7.0", + "@wordpress/prettier-config": "2.17.0", "babel-loader": "^8.3.0", "chalk": "^4.1.2", "copy-webpack-plugin": "^10.2.4", @@ -53,12 +53,12 @@ "moment": "^2.29.4", "node-stream-zip": "^1.15.0", "postcss-loader": "^4.3.0", - "prettier": "npm:wp-prettier@^2.6.2", + "prettier": "npm:wp-prettier@^2.8.5", "regenerator-runtime": "^0.13.11", "request": "^2.88.2", "sass": "^1.59.3", "sass-loader": "^10.4.1", - "syncpack": "^9.8.4", + "syncpack": "^10.1.0", "turbo": "^1.9.3", "typescript": "^4.9.5", "url-loader": "^1.1.2", diff --git a/packages/js/components/changelog/dev-linter-fixes b/packages/js/components/changelog/dev-linter-fixes new file mode 100644 index 00000000000..3f90d9fdcc5 --- /dev/null +++ b/packages/js/components/changelog/dev-linter-fixes @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Lint fixes diff --git a/packages/js/components/src/experimental-select-control/select-control.tsx b/packages/js/components/src/experimental-select-control/select-control.tsx index 0bb76218a6e..7b8e6cf5c7f 100644 --- a/packages/js/components/src/experimental-select-control/select-control.tsx +++ b/packages/js/components/src/experimental-select-control/select-control.tsx @@ -280,7 +280,7 @@ function SelectControl< ItemType = DefaultItemType >( { ) } > { /* Downshift's getLabelProps handles the necessary label attributes. */ } - { /* eslint-disable jsx-a11y/label-has-for */ } + { /* eslint-disable jsx-a11y/label-has-for, jsx-a11y/label-has-associated-control */ } { label && ( ) } - { /* eslint-enable jsx-a11y/label-has-for */ } + { /* eslint-enable jsx-a11y/label-has-for, jsx-a11y/label-has-associated-control */ } - { /* eslint-disable-next-line jsx-a11y/label-has-for */ } + { /* eslint-disable-next-line jsx-a11y/label-has-for, jsx-a11y/label-has-associated-control */ }