Fix `packages/` path for npm script `lint:js`.

This commit is contained in:
Tomek Wytrębowicz 2022-03-22 16:35:12 +01:00
parent b27618e51d
commit 4714289838
1 changed files with 2 additions and 2 deletions

View File

@ -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$)",