allow empty oxlint lint-staged runs
This commit is contained in:
+1
-1
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user