Commit ea4dc2860be for woocommerce
commit ea4dc2860bec38b37a30e1b88cc31527bbe0df3e
Author: woocommercebot <30233865+woocommercebot@users.noreply.github.com>
Date: Fri Aug 7 02:22:22 2026 +0530
Prepare Packages for Release (#67452)
Automated change: Prep @woocommerce/eslint-plugin for release.
Co-authored-by: woocommercebot <woocommercebot@users.noreply.github.com>
diff --git a/packages/js/eslint-plugin/CHANGELOG.md b/packages/js/eslint-plugin/CHANGELOG.md
index afaaa839997..82d7e8cfeb3 100644
--- a/packages/js/eslint-plugin/CHANGELOG.md
+++ b/packages/js/eslint-plugin/CHANGELOG.md
@@ -2,9 +2,14 @@
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [3.0.0](https://www.npmjs.com/package/@woocommerce/eslint-plugin/v/3.0.0) - 2026-06-10
+## [4.0.0](https://www.npmjs.com/package/@woocommerce/eslint-plugin/v/4.0.0) - 2026-08-06
-- Major - Remove unused React imports from ESLint config; consuming projects may see new lint errors. [#55554]
+- Major [ **BREAKING CHANGE** ] - Add ESLint v9/v10 Flat Config support. `configs.recommended` is now a Flat Config array rather than an eslintrc object, the `eslint` peer range is `^9.22.0 || ^10.0.0`, and prettier `>=3` is required. There is no eslintrc compatibility wrapper: consumers must migrate to `eslint.config.mjs`. Do not register `eslint-plugin-import` or `eslint-plugin-react` yourself; neither supports ESLint v10, and `recommended` provides the wrapped instances. [#66621]
+- Major [ **BREAKING CHANGE** ] - Replace the `@woocommerce/dependency-group` rule with `import/order`. The custom rule is removed (rule, test, docs, and export); the recommended config now enforces import grouping via `import/order` and no longer requires the `/* External/Internal dependencies */` comment blocks. [#66086]
+
+## [3.0.0](https://www.npmjs.com/package/@woocommerce/eslint-plugin/v/3.0.0) - 2026-06-10
+
+- Major [ **BREAKING CHANGE** ] - Remove unused React imports from ESLint config; consuming projects may see new lint errors. [#55554]
- Minor - Bump jest package dependency to 29.5.x. [#60324]
- Minor - Fix typos in README.md files. [#48569]
- Minor - Monorepo: bump pnpm version to 9.15.0. [#54189]
@@ -23,20 +28,20 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Minor - Update deps and fix a bug where package rc files were not respected. [#36988]
- Minor - Warn for jsdoc errors, use wp-prettier [#38523]
- Minor - Bump node version. [#45148]
-- Patch - bump php version in packages/js/*/composer.json [#42020]
- Minor - Update i18n-text-domain rule to only allow woocommerce text domain [#33780]
-- Patch - Fixed some i18n related lint rule violations. [#41450]
- Minor - Fix node and pnpm versions via engines [#34773]
- Minor - Match TypeScript version with syncpack [#34787]
- Minor - Sync @wordpress package versions via syncpack. [#37034]
-- Patch - Tell eslint-react-plugin to assume React version 17.0.2 [#38512]
-- Patch - Update eslint to 8.32.0 across the monorepo. [#36700]
- Minor - Update pnpm monorepo-wide to 8.6.5 [#38990]
- Minor - Update pnpm to 8.6.7 [#39245]
-- Patch - Update pnpm to 9.1.0 [#47385]
- Minor - Update pnpm to version 8. [#37915]
- Minor - Update pnpm version constraint to 7.13.3 to avoid auto-install-peers issues [#35007]
- Minor - Upgrade TypeScript to 5.1.6 [#39531]
+- Patch - bump php version in packages/js/*/composer.json [#42020]
+- Patch - Fixed some i18n related lint rule violations. [#41450]
+- Patch - Tell eslint-react-plugin to assume React version 17.0.2 [#38512]
+- Patch - Update eslint to 8.32.0 across the monorepo. [#36700]
+- Patch - Update pnpm to 9.1.0 [#47385]
## [2.2.0](https://www.npmjs.com/package/@woocommerce/eslint-plugin/v/2.2.0) - 2022-07-08
diff --git a/packages/js/eslint-plugin/changelog/wooplug-6930-adopt-import-order b/packages/js/eslint-plugin/changelog/wooplug-6930-adopt-import-order
deleted file mode 100644
index 770f78e0bca..00000000000
--- a/packages/js/eslint-plugin/changelog/wooplug-6930-adopt-import-order
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: major
-Type: update
-
-Replace the `@woocommerce/dependency-group` rule with `import/order`. The custom rule is removed (rule, test, docs, and export); the recommended config now enforces import grouping via `import/order` and no longer requires the `/* External/Internal dependencies */` comment blocks.
diff --git a/packages/js/eslint-plugin/changelog/wooplug-6930-eslint-v10-flat-config b/packages/js/eslint-plugin/changelog/wooplug-6930-eslint-v10-flat-config
deleted file mode 100644
index 0e1c6324931..00000000000
--- a/packages/js/eslint-plugin/changelog/wooplug-6930-eslint-v10-flat-config
+++ /dev/null
@@ -1,4 +0,0 @@
-Significance: major
-Type: update
-
-Add ESLint v9/v10 Flat Config support. `configs.recommended` is now a Flat Config array rather than an eslintrc object, the `eslint` peer range is `^9.22.0 || ^10.0.0`, and prettier `>=3` is required. There is no eslintrc compatibility wrapper: consumers must migrate to `eslint.config.mjs`. Do not register `eslint-plugin-import` or `eslint-plugin-react` yourself; neither supports ESLint v10, and `recommended` provides the wrapped instances.
diff --git a/packages/js/eslint-plugin/package.json b/packages/js/eslint-plugin/package.json
index 898abedc17b..713c0e765ef 100644
--- a/packages/js/eslint-plugin/package.json
+++ b/packages/js/eslint-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@woocommerce/eslint-plugin",
- "version": "3.0.0",
+ "version": "4.0.0",
"description": "ESLint plugin for WooCommerce development.",
"author": "Automattic",
"license": "GPL-2.0-or-later",