mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/mihomo-party-org/clash-party.git
synced 2026-09-20 08:03:39 +08:00
15 lines
598 B
Markdown
15 lines
598 B
Markdown
# AGENTS.md
|
|
|
|
## Commit rules
|
|
|
|
- NEVER use `git commit --no-verify` or any other way to bypass git hooks.
|
|
- NEVER use `git push --no-verify`.
|
|
- The pre-commit hook runs `format:check`, `lint:check`, `typecheck`. Every commit must pass all three.
|
|
- If the hook fails, fix the root cause and retry. Never bypass.
|
|
- Run `pnpm run format:check && pnpm run lint:check && pnpm run typecheck` before committing.
|
|
|
|
## Generated files
|
|
|
|
- Do not edit `pnpm-lock.yaml` directly; change dependencies via pnpm.
|
|
- Do not edit `extra/sidecar/` or `node_modules/.temp/`; they are generated by `scripts/prepare.mjs`.
|