mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-01-31 11:46:11 +08:00
fix: add language labels to fenced code blocks for MD040 compliance
Add `text` language identifier to unlabeled fenced code blocks to satisfy markdownlint MD040 rule across Go documentation files.
This commit is contained in:
@@ -125,7 +125,7 @@ go list -f '{{.ImportPath}} -> {{.Imports}}' ./...
|
||||
- Use interfaces to break the cycle
|
||||
- Restructure package dependencies
|
||||
|
||||
```
|
||||
```text
|
||||
# Before (cycle)
|
||||
package/a -> package/b -> package/a
|
||||
|
||||
@@ -305,7 +305,7 @@ x = x // Remove pointless assignment
|
||||
|
||||
## Resolution Workflow
|
||||
|
||||
```
|
||||
```text
|
||||
1. go build ./...
|
||||
↓ Error?
|
||||
2. Parse error message
|
||||
@@ -340,7 +340,7 @@ Stop and report if:
|
||||
|
||||
After each fix attempt:
|
||||
|
||||
```
|
||||
```text
|
||||
[FIXED] internal/handler/user.go:42
|
||||
Error: undefined: UserService
|
||||
Fix: Added import "project/internal/service"
|
||||
@@ -349,7 +349,7 @@ Remaining errors: 3
|
||||
```
|
||||
|
||||
Final summary:
|
||||
```
|
||||
```text
|
||||
Build Status: SUCCESS/FAILED
|
||||
Errors Fixed: N
|
||||
Vet Warnings Fixed: N
|
||||
|
||||
@@ -224,7 +224,7 @@ When invoked:
|
||||
## Review Output Format
|
||||
|
||||
For each issue:
|
||||
```
|
||||
```text
|
||||
[CRITICAL] SQL Injection vulnerability
|
||||
File: internal/repository/user.go:42
|
||||
Issue: User input directly concatenated into SQL query
|
||||
|
||||
@@ -43,7 +43,7 @@ go mod tidy -v
|
||||
|
||||
## Example Session
|
||||
|
||||
```
|
||||
```text
|
||||
User: /go-build
|
||||
|
||||
Agent:
|
||||
|
||||
@@ -68,7 +68,7 @@ govulncheck ./...
|
||||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```text
|
||||
User: /go-review
|
||||
|
||||
Agent:
|
||||
|
||||
@@ -35,7 +35,7 @@ REPEAT → Next test case
|
||||
|
||||
## Example Session
|
||||
|
||||
```
|
||||
```text
|
||||
User: /go-test I need a function to validate email addresses
|
||||
|
||||
Agent:
|
||||
|
||||
@@ -364,7 +364,7 @@ func WriteAndFlush(w io.Writer, data []byte) error {
|
||||
|
||||
### Standard Project Layout
|
||||
|
||||
```
|
||||
```text
|
||||
myproject/
|
||||
├── cmd/
|
||||
│ └── myapp/
|
||||
|
||||
Reference in New Issue
Block a user