diff --git a/.golangci.yaml b/.golangci.yaml index 05388de..6821055 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -30,6 +30,10 @@ linters: disabled: true exclusions: generated: lax + # 一次性验证脚本,不进版本库(见 docs/verification.md);不排除的话,本地留着的脚本会让提交前的 + # `golangci-lint run ./...` 失败,而 CI 上看不到它们。 + paths: + - e2e/scratch presets: - comments - common-false-positives @@ -46,6 +50,9 @@ formatters: enable: - gofmt - goimports + exclusions: + paths: + - e2e/scratch settings: goimports: local-prefixes: diff --git a/docs/cli.md b/docs/cli.md index 128bbc4..d897fae 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -15,7 +15,7 @@ command line can use the skill in [`../skills/sctl/`](../skills/sctl/SKILL.md). | `sctl service install\|uninstall\|start\|stop\|restart\|enable\|disable\|status` | Run `sctl serve` in the background as a user service; see [Background service](#background-service-sctl-service). | | `sctl connect` | Open a one-time enrollment window for ScriptCat or sctl Browser. | | `sctl mcp [--name