From 471428983860b4870995aa1241e5df090a294b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wytr=C4=99bowicz?= Date: Tue, 22 Mar 2022 16:35:12 +0100 Subject: [PATCH] Fix `packages/` path for npm script `lint:js`. --- plugins/woocommerce-admin/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/package.json b/plugins/woocommerce-admin/package.json index c71a12e24f2..563c4eb0789 100644 --- a/plugins/woocommerce-admin/package.json +++ b/plugins/woocommerce-admin/package.json @@ -44,8 +44,8 @@ "lint": "pnpm run lint:js && pnpm run lint:css", "lint:css": "stylelint '**/*.scss'", "lint:css-fix": "stylelint '**/*.scss' --fix --ip 'storybook/wordpress'", - "lint:js": "wp-scripts lint-js ./packages ./client --ext=js,ts,tsx", - "lint:js:packages": "wp-scripts lint-js ./packages --ext=js,ts,tsx", + "lint:js": "wp-scripts lint-js ../../packages/js ./client --ext=js,ts,tsx", + "lint:js:packages": "wp-scripts lint-js ../../packages/js --ext=js,ts,tsx", "lint:js:client": "wp-scripts lint-js ./client --ext=js,ts,tsx", "lint:js-fix": "pnpm run lint:js --fix --ext=js,ts,tsx", "lint:php": "./vendor/bin/phpcs --standard=phpcs.xml.dist $(git ls-files | grep .php$)",