Skip to content

Commit b098898

Browse files
committed
fix(ci): lint-staged oxlint 显式指定 client/.oxlintrc.json,pre-commit 与 CI 规则集一致
1 parent 3be24cc commit b098898

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"semantic-release": "24.2.3"
3131
},
3232
"lint-staged": {
33-
"client/**/*.{ts,tsx}": "npm --prefix client exec oxlint --",
33+
"client/**/*.{ts,tsx}": "npm --prefix client exec oxlint -- --config client/.oxlintrc.json",
3434
"website/**/*.{ts,tsx}": "npm --prefix website exec eslint -- --config website/eslint.config.mjs",
3535
"docs/**/*.md": "node scripts/docs-check.mjs"
3636
}

0 commit comments

Comments
 (0)