Skip to content

Commit

Permalink
Don't error linting commands when there are no files found.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Jan 27, 2025
1 parent 3ebf4f5 commit 3333def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"build": "wp-scripts build",
"format": "wp-scripts format",
"lint": "composer run lint && npm run lint:js && npm run lint:css",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:css": "wp-scripts lint-style --allow-empty-input",
"lint:js": "wp-scripts lint-js --no-error-on-unmatched-pattern",
"prepare": "husky"
},
"prettier": "@wordpress/prettier-config",
Expand Down
Empty file removed src/index.js
Empty file.

0 comments on commit 3333def

Please sign in to comment.