diff options
| author | Paul Buetow <paul@buetow.org> | 2025-09-06 10:56:27 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-09-06 10:56:27 +0300 |
| commit | 320de746f7a2985b60c8564a0e65bdf231e840b7 (patch) | |
| tree | e70bcf50813dba411afa2934e774383124bbc99e /AGENTS.md | |
| parent | 06247527d5170f329b454b42f59a3e4434ab1f4b (diff) | |
use gofumpt
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -9,16 +9,10 @@ - `tests/`: Future test suites mirroring `src/` paths. - `scripts/`: Helper tools and maintenance scripts. -## Build, Test, and Development Commands - -- Lint Markdown: `markdownlint **/*.md` — checks heading/style rules. -- Spellcheck: `codespell` — catches common typos. -- Optimize images: `pngquant --quality=70-85 input.png -o assets/input.png`. -- No build step required for docs-only changes. - ## Coding Style & Naming Conventions - Aim for at least 85% unit test coverage of all source code. +- Always run the gofumpt code reformater on all go files modified. - Ensure that all unit tests pass before merging any changes. - If possible, construct individual methods so that they can be unit tested. But only if it doesn't add too much boilerplate to the code base. - There should be no source code file larger than 1000 lines. If so, split it up into multiple. |
