@@ -51,6 +51,43 @@ Default to:
- Amolith's licensing convention when the project does not already say
otherwise: CC0 for docs/examples/config/prompt text, MutuaL for meaningful code
+Use this `.golangci.toml` shape unless the project already has a stronger local
+configuration. Replace the module path placeholders with the module from
+`go.mod`:
+
+```toml
+version = "2"
+
+[linters]
+enable = ["bodyclose", "errcheck", "errorlint", "exhaustive", "gocognit", "govet", "ineffassign", "modernize", "nilerr", "nilnil", "noctx", "revive", "staticcheck", "unused"]
+
+[linters.settings.gocognit]
+min-complexity = 15
+
+[[linters.settings.revive.rules]]
+name = "file-length-limit"
+arguments = [{ max = 1000, skip-comments = true, skip-blank-lines = true }]
+
+[[linters.settings.revive.rules]]
+name = "max-control-nesting"
+arguments = [5]
+
+[formatters]
+enable = ["goimports", "gofumpt", "gci", "golines"]
+
+[formatters.settings.goimports]
+local-prefixes = ["<module-path>"]
+
+[formatters.settings.gofumpt]
+module-path = "<module-path>"
+
+[formatters.settings.gci]
+sections = ["standard", "default", "localmodule"]
+
+[formatters.settings.golines]
+max-len = 120
+```
+
Default away from:
- Taskfiles and justfiles in new setup