-
Notifications
You must be signed in to change notification settings - Fork 174
/
staticcheck.conf
49 lines (40 loc) · 1.18 KB
/
staticcheck.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
checks = [
# Enable all checks
"all",
# Disable SA1019
# Using a deprecated function, variable, constant or field.
# https://staticcheck.io/docs/checks#SA1019
"-SA1019",
# Disable ST1000
# Incorrect or missing package comment.
# https://staticcheck.io/docs/checks#ST1000
"-ST1000",
# Disable ST1003
# ST1003 - Poorly chosen identifier.
# https://staticcheck.io/docs/checks#ST1003
"-ST1003",
# Disable ST1016
# Use consistent method receiver names.
# https://staticcheck.io/docs/checks#ST1016
"-ST1016",
# Disable ST1020
# The documentation of an exported function should start with the
# function’s name.
# https://staticcheck.io/docs/checks#ST1020
"-ST1020",
# Disable ST1021
# The documentation of an exported type should start with type’s name.
# https://staticcheck.io/docs/checks#ST1021
"-ST1021",
# Disable ST1022
# The documentation of an exported variable or constant should start
# with variable’s name.
# https://staticcheck.io/docs/checks#ST1022
"-ST1022",
# Disable ST1023
# Redundant type in variable declaration.
# https://staticcheck.io/docs/checks#ST1023
"-ST1023",
# Disable unused code check
"-U1000"
]