Skip to content

Commit ae5155e

Browse files
committed
chore: update command to lint js files
- add command to fix eslint issues. - scan all subdirecteries.
1 parent 7489c09 commit ae5155e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"scripts": {
88
"start": "wp-scripts start",
99
"build": "wp-scripts build",
10-
"lint:js": "wp-scripts lint-js src/ includes/Classifai/Blocks/",
10+
"lint:js": "wp-scripts lint-js",
11+
"lint:js-fix": "wp-scripts lint-js --fix",
1112
"install_tests": "./bin/install-wp-tests.sh classifai_unit_tests root password 127.0.0.1",
1213
"test": "./vendor/bin/phpunit",
1314
"tests:e2e": "./vendor/bin/wpacceptance run",

0 commit comments

Comments
 (0)