A community based topic aggregation platform built on atproto
1linters:
2 enable:
3 - gofmt # Enforce standard Go formatting
4 - gofumpt # Stricter gofmt (extra formatting rules)
5 - goimports # Check import organization
6 - govet # Examine Go source code and report suspicious constructs
7 - errcheck # Check for unchecked errors
8 - staticcheck # Advanced static analysis
9 - unused # Check for unused code
10 - gosimple # Suggest code simplifications
11 - ineffassign # Detect ineffectual assignments
12 - typecheck # Standard Go type checker
13
14linters-settings:
15 gofmt:
16 simplify: true # Simplify code where possible
17
18 gofumpt:
19 extra-rules: true # Enable extra formatting rules
20
21 errcheck:
22 check-blank: false # Don't check blank assignments (allows _ = in defer closures)
23
24 govet:
25 enable-all: true
26 disable:
27 - shadow # Disable shadow checking (common pattern in tests)
28
29 staticcheck:
30 checks: ["all"]
31
32run:
33 timeout: 5m
34 tests: true
35 go: "1.24" # Match golangci-lint's build version to avoid version check failures
36
37issues:
38 exclude-use-default: false
39 max-issues-per-linter: 0
40 max-same-issues: 0