Commit fc7aaf61245 for woocommerce

commit fc7aaf61245296a1bd1ebf3bf4af2539de66c0cf
Author: Manzoor Wani <manzoorwani.jk@gmail.com>
Date:   Fri Jul 17 19:57:32 2026 +0530

    Remove the dead local eslint-plugin-woocommerce (#66763)

    chore: remove the dead local eslint-plugin-woocommerce

    The package at plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce
    was never wired up. It exports an empty rules object -- rules/index.js only
    requireindex's its own directory, and no rule file has ever existed there. No
    ESLint config registers it and no package.json depends on it; the only
    references were its own workspace entry, lockfile importer and gitignore line.

    Already dead before the Flat Config migration (#66621); it arrived as-is with
    the Blocks merge (#54911).

    Part of #66078.

diff --git a/plugins/woocommerce/changelog/remove-dead-eslint-plugin-woocommerce b/plugins/woocommerce/changelog/remove-dead-eslint-plugin-woocommerce
new file mode 100644
index 00000000000..977942c2961
--- /dev/null
+++ b/plugins/woocommerce/changelog/remove-dead-eslint-plugin-woocommerce
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Remove the unused local eslint-plugin-woocommerce package from the Blocks build directory. It defined no rules and was registered by no ESLint config. Tooling only; no runtime change.
diff --git a/plugins/woocommerce/client/blocks/.gitignore b/plugins/woocommerce/client/blocks/.gitignore
index f4612fe500b..1e3c9cb4106 100644
--- a/plugins/woocommerce/client/blocks/.gitignore
+++ b/plugins/woocommerce/client/blocks/.gitignore
@@ -50,7 +50,6 @@ Thumbs.db
 # Built files
 /build/
 bin/languages
-bin/eslint-plugin-woocommerce/node_modules/
 woocommerce-gutenberg-products-block.zip
 storybook-static/
 /wp-content/
diff --git a/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/index.js b/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/index.js
deleted file mode 100644
index c12dc543c64..00000000000
--- a/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = {
-	rules: require( './rules' ),
-};
diff --git a/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/package.json b/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/package.json
deleted file mode 100644
index 0f8bc95f892..00000000000
--- a/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/package.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-	"name": "eslint-plugin-woocommerce",
-	"version": "0.0.2",
-	"main": "index.js",
-	"devDependencies": {
-		"eslint": "^10.0.0"
-	},
-	"engines": {
-		"node": "^24.15.0",
-		"npm": "^8.0.0"
-	},
-	"dependencies": {
-		"requireindex": "^1.2.0"
-	}
-}
diff --git a/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/rules/index.js b/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/rules/index.js
deleted file mode 100644
index 035c09a8fa7..00000000000
--- a/plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce/rules/index.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require( 'requireindex' )( __dirname );
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1a3004a2703..0595a4ac615 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3945,16 +3945,6 @@ importers:
         specifier: 1.1.5
         version: 1.1.5

-  plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce:
-    dependencies:
-      requireindex:
-        specifier: ^1.2.0
-        version: 1.2.0
-    devDependencies:
-      eslint:
-        specifier: ^10.0.0
-        version: 10.7.0(jiti@2.6.1)
-
   plugins/woocommerce/client/legacy:
     dependencies:
       sourcebuster:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 1e9f5d37347..00afd350b70 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -76,7 +76,6 @@ packages:
     - 'plugins/woocommerce/client/admin'
     - 'plugins/woocommerce/client/blocks'
     - 'plugins/woocommerce/client/legacy'
-    - 'plugins/woocommerce/client/blocks/bin/eslint-plugin-woocommerce'
     - 'tools/monorepo-merge'
     - 'tools/code-analyzer'
     - 'tools/compare-perf'