Willie
d377e6bbf6
refactor(analyze): simplify lint engine and fix review findings
- Eliminate double YAML parse: extend calcContextFromContent to return
name, remove parseFrontmatterName helper
- Pre-compute lint icons (lintIconError/lintIconWarning) to avoid
lipgloss.NewStyle() allocation per render frame
- Use tc.Red/tc.Yellow for Quality section icons (consistency)
- Extract check type string constants (checkFieldEmpty, etc.)
- Panic on embedded rule load failure instead of silent nil return
- Rename "Targets: all" to "Restricted to" (only shown when set)
- Fix struct field alignment (gofmt)
2026-03-26 19:20:52 +08:00
..
2026-02-27 05:39:49 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-26 19:20:52 +08:00
2026-03-26 19:20:52 +08:00
2026-03-19 04:16:36 +08:00
2026-03-18 00:19:30 +08:00
2026-03-26 19:20:52 +08:00
2026-03-25 21:14:16 +08:00
2026-03-25 21:14:16 +08:00
2026-02-16 00:08:59 +08:00
2026-02-14 00:21:48 +08:00
2026-03-17 04:48:42 +08:00
2026-03-26 19:20:52 +08:00
2026-03-26 19:20:52 +08:00
2026-03-26 19:20:52 +08:00
2026-02-26 22:27:23 +08:00
2026-02-26 22:27:23 +08:00
2026-02-25 07:02:54 +08:00
2026-03-13 13:37:12 +08:00
2026-03-13 13:37:12 +08:00
2026-02-23 04:18:01 +08:00
2026-01-31 01:18:14 +08:00
2026-01-31 16:50:39 +08:00
2026-03-02 10:05:57 +08:00
2026-02-14 18:35:21 +08:00
2026-03-26 19:20:52 +08:00