aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-15 08:41:08 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-15 08:41:08 -0800
commitea5d89b47a5424fc81e99934183c0ad7a0cf2426 (patch)
treef18664d9ef5a7b606896034027e6d3331fdad92b /.golangci.yml
parentd4f19ac62f203314fb3e2d4b3afea3d87bbbfe63 (diff)
downloadneko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.gz
neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.bz2
neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.zip
Create 'make check' unified workflow and fix various lint issues
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml30
1 files changed, 18 insertions, 12 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 61937fb..0837e25 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,20 +1,26 @@
+version: "2"
run:
- timeout: 5m
tests: true
+ timeout: 5m
linters:
+ disable-all: true
+ disable:
+ - errcheck
enable:
- - govet
- staticcheck
- - gofmt
- - goimports
- - misspell
- - gocyclo
+ - govet
+ - ineffassign
- unparam
- - unused
+ - misspell
+
+issues:
+ exclude-use-default: false
+ max-issues-per-linter: 0
+ max-same-issues: 0
+ exclude-rules:
+ - path: _test\.go
+ linters:
+ - errcheck
+ - staticcheck
-linters-settings:
- gocyclo:
- min-complexity: 15
- goimports:
- local-prefixes: adammathes.com/neko