Skip to content

Commit 7043ff7

Browse files
fix: replace lint-staged with nano-staged (#874)
* fix: replace lint-staged with nano-staged * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 5965bb3 commit 7043ff7

File tree

3 files changed

+17
-75
lines changed

3 files changed

+17
-75
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"bumpp": "^10.3.2",
5757
"eslint": "^9.39.2",
5858
"eslint-plugin-oxlint": "^1.35.0",
59-
"lint-staged": "^16.2.7",
59+
"nano-staged": "catalog:",
6060
"oxlint": "^1.35.0",
6161
"publint": "^0.3.16",
6262
"rollup": "^4.54.0",
@@ -89,9 +89,9 @@
8989
"apps/**"
9090
],
9191
"simple-git-hooks": {
92-
"pre-commit": "pnpm lint-staged"
92+
"pre-commit": "pnpm nano-staged"
9393
},
94-
"lint-staged": {
94+
"nano-staged": {
9595
"*": "moeru-lint --fix"
9696
}
9797
}

pnpm-lock.yaml

Lines changed: 13 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ catalog:
5252
es-toolkit: 1.43.0
5353
injeca: ^0.1.5
5454
is-network-error: ^1.3.0
55+
nano-staged: ^0.9.0
5556
nanoid: ^5.1.6
5657
ofetch: ^1.5.1
5758
posthog-js: 1.306.1

0 commit comments

Comments
 (0)