aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 08:58:38 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 08:58:38 -0800
commite3c379d069ffa9661561d25cdbf2f5894a2f8ee8 (patch)
tree24d0e9f5610dd9c8f873c5b78e6bc1c88d32840a /.golangci.yml
parent4b06155fbde91a1bef6361ef36efb28789861928 (diff)
downloadneko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.tar.gz
neko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.tar.bz2
neko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.zip
Refactor: project structure, implement dependency injection, and align v2 UI with v1
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
new file mode 100644
index 0000000..61937fb
--- /dev/null
+++ b/.golangci.yml
@@ -0,0 +1,20 @@
+run:
+ timeout: 5m
+ tests: true
+
+linters:
+ enable:
+ - govet
+ - staticcheck
+ - gofmt
+ - goimports
+ - misspell
+ - gocyclo
+ - unparam
+ - unused
+
+linters-settings:
+ gocyclo:
+ min-complexity: 15
+ goimports:
+ local-prefixes: adammathes.com/neko