Merge pull request #32322 from woocommerce/fix/lint_js-fix
Fix paths and argument forwarding for `script lint:js-fix`
This commit is contained in:
commit
554fc86441
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue