Commit 83caf415747 for woocommerce

commit 83caf415747c0be931c256d4e5244efc1f7052a2
Author: Manzoor Wani <manzoorwani.jk@gmail.com>
Date:   Fri Jul 17 16:28:26 2026 +0530

    Fix inert lodash orderBy restricted-import in Blocks ESLint config (#66755)

    Fix inert lodash orderBy restricted-import entry

    The Blocks ESLint config restricted the lodash import name `orderby`, but
    lodash's actual export is `orderBy`. `no-restricted-imports` matches
    `importNames` case-sensitively, so the entry never applied.

    Pre-existing: trunk's eslintrc carried the same typo before the Flat Config
    migration. Nothing imports lodash in the Blocks source today, so restoring
    the restriction surfaces no new violations.

diff --git a/plugins/woocommerce/changelog/fix-lodash-orderby-import-restriction b/plugins/woocommerce/changelog/fix-lodash-orderby-import-restriction
new file mode 100644
index 00000000000..a9847d6f6e1
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-lodash-orderby-import-restriction
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Fix the inert lodash `orderBy` restricted-import entry in the Blocks ESLint config, which was spelled `orderby` and never matched. Tooling only; no runtime change.
diff --git a/plugins/woocommerce/client/blocks/eslint.config.mjs b/plugins/woocommerce/client/blocks/eslint.config.mjs
index b1da1160013..1411820e8b2 100644
--- a/plugins/woocommerce/client/blocks/eslint.config.mjs
+++ b/plugins/woocommerce/client/blocks/eslint.config.mjs
@@ -83,7 +83,7 @@ const restrictedImports = [
 			'omit',
 			'omitBy',
 			'once',
-			'orderby',
+			'orderBy',
 			'overEvery',
 			'partial',
 			'partialRight',