1# SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
2#
3# SPDX-License-Identifier: CC0-1.0
4
5version: "2"
6linters:
7 default: none
8 # Be specific
9 enable:
10 - arangolint
11 - asasalint
12 - asciicheck
13 - bidichk
14 - bodyclose
15 - canonicalheader
16 - containedctx
17 - contextcheck
18 - copyloopvar
19 - cyclop
20 - decorder
21 - dogsled
22 - dupl
23 - dupword
24 - durationcheck
25 - embeddedstructfieldcheck
26 - err113
27 - errcheck
28 - errchkjson
29 - errname
30 - errorlint
31 - exhaustive
32 - exhaustruct
33 - exptostd
34 - fatcontext
35 - forbidigo
36 - forcetypeassert
37 - funcorder
38 - funlen
39 - ginkgolinter
40 - gocheckcompilerdirectives
41 - gochecknoglobals
42 - gochecknoinits
43 - gochecksumtype
44 - gocognit
45 - goconst
46 - gocritic
47 - gocyclo
48 - godoclint
49 - godot
50 - godox
51 - goheader
52 - gomoddirectives
53 - gomodguard
54 - goprintffuncname
55 - gosec
56 - gosmopolitan
57 - govet
58 - grouper
59 - iface
60 - importas
61 - inamedparam
62 - ineffassign
63 - interfacebloat
64 - intrange
65 - iotamixing
66 - ireturn
67 - lll
68 - loggercheck
69 - maintidx
70 - makezero
71 - mirror
72 - misspell
73 - mnd
74 - musttag
75 - nakedret
76 - nestif
77 - nilerr
78 - nilnesserr
79 - nilnil
80 - nlreturn
81 - noctx
82 - nolintlint
83 - nonamedreturns
84 - nosprintfhostport
85 - paralleltest
86 - perfsprint
87 - prealloc
88 - predeclared
89 - promlinter
90 - protogetter
91 - reassign
92 - recvcheck
93 - revive
94 - rowserrcheck
95 - sloglint
96 - spancheck
97 - sqlclosecheck
98 - staticcheck
99 - tagalign
100 - tagliatelle
101 - testableexamples
102 - testifylint
103 - testpackage
104 - thelper
105 - tparallel
106 - unconvert
107 - unparam
108 - unqueryvet
109 - unused
110 - usestdlibvars
111 - usetesting
112 - varnamelen
113 - wastedassign
114 - whitespace
115 - wrapcheck
116 - wsl_v5
117 - zerologlint
118
119 disable:
120 - depguard
121 - noinlineerr
122
123 settings:
124 tagliatelle:
125 case:
126 rules:
127 json: snake