mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
Revert "feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)"
This reverts commit 1bd68ff534.
This commit is contained in:
17
.cursor/rules/golang-hooks.md
Normal file
17
.cursor/rules/golang-hooks.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
description: "Go hooks: gofmt/goimports auto-format, go vet, staticcheck"
|
||||
globs: ["**/*.go"]
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Go Hooks
|
||||
|
||||
> This file extends [common/hooks.md](../common/hooks.md) with Go specific content.
|
||||
|
||||
## PostToolUse Hooks
|
||||
|
||||
Configure in `~/.claude/settings.json`:
|
||||
|
||||
- **gofmt/goimports**: Auto-format `.go` files after edit
|
||||
- **go vet**: Run static analysis after editing `.go` files
|
||||
- **staticcheck**: Run extended static checks on modified packages
|
||||
Reference in New Issue
Block a user