Skip to content

Commit 7117ddd

Browse files
committed
chore: migrate from lint-staged to nano-staged
1 parent 00f28f6 commit 7117ddd

2 files changed

Lines changed: 15 additions & 209 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@
3939
"@vue/test-utils": "2.4.6",
4040
"eslint": "9.39.2",
4141
"happy-dom": "20.0.11",
42-
"lint-staged": "16.1.0",
42+
"nano-staged": "^0.9.0",
4343
"simple-git-hooks": "2.13.0",
4444
"typescript": "5.8.3",
4545
"vitest": "4.0.15",
4646
"vue-tsc": "3.0.1"
4747
},
4848
"simple-git-hooks": {
49-
"pre-commit": "npx lint-staged"
49+
"pre-commit": "npx nano-staged"
5050
},
51-
"lint-staged": {
51+
"packageManager": "pnpm@10.21.0",
52+
"nano-staged": {
5253
"*.{js,ts,mjs,cjs,json,.*rc}": [
5354
"npx eslint --fix"
5455
]
55-
},
56-
"packageManager": "pnpm@10.21.0"
56+
}
5757
}

0 commit comments

Comments
 (0)