allow empty oxlint lint-staged runs

This commit is contained in:
Samuel Newman
2026-07-28 09:51:45 +03:00
parent b6f3d94b8d
commit fb40a4fd3b
+1 -1
View File
@@ -366,7 +366,7 @@
}, },
"lint-staged": { "lint-staged": {
"*{.js,.jsx,.ts,.tsx}": [ "*{.js,.jsx,.ts,.tsx}": [
"oxlint --fix" "oxlint --fix --no-error-on-unmatched-pattern"
], ],
"*{.js,.jsx,.ts,.tsx,.css}": [ "*{.js,.jsx,.ts,.tsx,.css}": [
"prettier --cache --write --ignore-unknown" "prettier --cache --write --ignore-unknown"