summaryrefslogtreecommitdiff
path: root/.golangci.yml.bak
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 16:37:15 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 16:37:15 +0200
commit7ad5624a46eb73f1933c2324a7f65e38e3305711 (patch)
tree0bf0223c00dcab3a3220e65a976a1f919f7af868 /.golangci.yml.bak
parent62b487ed9da06cd564237ef4df81cf2cffa11af9 (diff)
docs: Add comprehensive Go documentation for REPL functions
- Enhanced NewREPL documentation with detailed parameter descriptions - Enhanced RunREPL documentation clarifying it's a convenience wrapper - Improved executor documentation explaining backward compatibility and testing usage - Enhanced defaultExecutor documentation with input processing details and panic recovery - Enhanced defaultCompleter documentation with tab-completion behavior details - Enhanced defaultGetCommandDescription documentation with command description details - Improved TTYChecker methods (IsTTY, EnsureTTY) documentation - Improved SignalHandler.Start method documentation All exported and non-exported functions in the REPL package now have comprehensive documentation comments that describe their purpose, parameters, and return values.
Diffstat (limited to '.golangci.yml.bak')
-rw-r--r--.golangci.yml.bak25
1 files changed, 25 insertions, 0 deletions
diff --git a/.golangci.yml.bak b/.golangci.yml.bak
new file mode 100644
index 0000000..2b76c52
--- /dev/null
+++ b/.golangci.yml.bak
@@ -0,0 +1,25 @@
+# golangci-lint configuration for perc project
+
+linters:
+ enable:
+ - gofmt
+ - goimports
+ - govet
+ - errcheck
+ - staticcheck
+ - unused
+ - gosimple
+ - structcheck
+ - varcheck
+ - ineffassign
+ - deadcode
+ - typecheck
+
+linters-settings:
+ goimports:
+ local-prefixes: codeberg.org/snonux/perc
+ errcheck:
+ check-blank: false
+
+run:
+ timeout: 5m