diff --git a/plugins/woocommerce-admin/package.json b/plugins/woocommerce-admin/package.json index c8803d97121..967ec639357 100644 --- a/plugins/woocommerce-admin/package.json +++ b/plugins/woocommerce-admin/package.json @@ -44,10 +44,10 @@ "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: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$)", "lint:php-fix": "./vendor/bin/phpcbf --standard=phpcs.xml.dist $(git ls-files | grep .php$)", "ts:check": "tsc --build ./tsconfig.json",