Skip to content

Commit

Permalink
Move the lint up to root package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Dec 16, 2024
1 parent 87e1de0 commit 8dc409d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"setup:tools": "yarn && composer install && TEXTDOMAIN=wporg composer exec update-configs",
"setup:wp": "wp-env run cli bash env/setup.sh",
"update:tools": "composer update && TEXTDOMAIN=wporg composer exec update-configs",
"wp-env": "wp-env"
"wp-env": "wp-env",
"lint:php": "echo \"No PHP lint.\""
},
"workspaces": [
"source/wp-content/themes/wporg-parent-2021"
Expand Down
3 changes: 1 addition & 2 deletions source/wp-content/themes/wporg-parent-2021/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"build": "node build-styles.js",
"start": "chokidar \"sass/**/*.scss\" -c \"node build-styles.js\" --initial",
"lint:css": "wp-scripts lint-style sass",
"lint:js": "echo \"No JS.\"",
"lint:php": "echo \"No PHP lint.\""
"lint:js": "echo \"No JS.\""
},
"browserslist": [
"extends @wordpress/browserslist-config"
Expand Down

0 comments on commit 8dc409d

Please sign in to comment.