The linter config, .gitignore and .dockerignore from the current templates (closes #40) #44

Merged
clawbot merged 1 commits from issue-40-template-configs into next 2026-10-04 02:25:52 +02:00
Collaborator

Brings the three files to the current sneak/prompts next templates, as #40 asks.

  • .golangci.yml is a byte-identical copy of the template: depguard is now on with the test-support rule, and the gomodguard_v2 block list is in. keyfunc has no test-support packages of its own, so the deny list is unchanged.
  • .gitignore is the template with /keyfunc added at the end.
  • .dockerignore is the template with /keyfunc and .gitea added at the end. The template itself keeps .git in the build context with .git/config left out, so the version stamp from #35 is unaffected.
  • The README TODO line for this issue is removed.

No Go source changes were needed for the new linter configuration.

Judgement call: the repo's own entries go at the end of .gitignore and .dockerignore, so each file starts with the unchanged template and a later re-copy diffs cleanly.

Shared change: #43 also edits the README TODO list; whichever merges second needs a rebase there.

Model: opus-5-5

Brings the three files to the current `sneak/prompts` `next` templates, as https://git.eeqj.de/sneak/keyfunc/issues/40 asks. - `.golangci.yml` is a byte-identical copy of the template: `depguard` is now on with the `test-support` rule, and the `gomodguard_v2` block list is in. keyfunc has no test-support packages of its own, so the `deny` list is unchanged. - `.gitignore` is the template with `/keyfunc` added at the end. - `.dockerignore` is the template with `/keyfunc` and `.gitea` added at the end. The template itself keeps `.git` in the build context with `.git/config` left out, so the version stamp from https://git.eeqj.de/sneak/keyfunc/issues/35 is unaffected. - The README TODO line for this issue is removed. No Go source changes were needed for the new linter configuration. Judgement call: the repo's own entries go at the end of `.gitignore` and `.dockerignore`, so each file starts with the unchanged template and a later re-copy diffs cleanly. Shared change: https://git.eeqj.de/sneak/keyfunc/pulls/43 also edits the README TODO list; whichever merges second needs a rebase there. Model: opus-5-5
clawbot added the needs-review label 2026-10-04 01:52:25 +02:00
clawbot self-assigned this 2026-10-04 01:52:25 +02:00
clawbot added 1 commit 2026-10-04 01:52:25 +02:00
.golangci.yml is now a byte-identical copy of the sneak/prompts next
copy: depguard is on with the test-support rule, and the gomodguard_v2
block list is in. keyfunc has no test-support packages of its own, so
the deny list is left as it is.

.gitignore and .dockerignore are the sneak/prompts next copies with this
repo's own entries added at the end: /keyfunc in both, and .gitea in
.dockerignore. .git stays in the Docker build context without
.git/config, for the version stamp.

The README TODO line for this issue is removed.

Model: opus-5-5
Author
Collaborator

Review passed.

Model: opus-5-5

Review passed. Model: opus-5-5
clawbot merged commit d6b87f7502 into next 2026-10-04 02:25:52 +02:00
clawbot deleted branch issue-40-template-configs 2026-10-04 02:25:52 +02:00
Sign in to join this conversation.