Skip to content

Commit b6b99b5

Browse files
sylvia7788ldez
authored andcommitted
docs(contextcheck): add disable-fact config
1 parent 7c680e9 commit b6b99b5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.reference.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,6 +1854,11 @@ linters-settings:
18541854
# Default: true
18551855
strict-append: true
18561856

1857+
contextcheck:
1858+
# If you use contextcheck in docker ci, and feel a little bit slow, you can turn on this option.
1859+
# Default: false
1860+
disable-fact: true
1861+
18571862
# The custom section can be used to define linter plugins to be loaded at runtime.
18581863
# See README documentation for more info.
18591864
custom:
@@ -1974,6 +1979,7 @@ linters:
19741979
- whitespace
19751980
- wrapcheck
19761981
- wsl
1982+
- contextcheck
19771983

19781984
# Enable all available linters.
19791985
# Default: false
@@ -2078,6 +2084,7 @@ linters:
20782084
- whitespace
20792085
- wrapcheck
20802086
- wsl
2087+
- contextcheck
20812088

20822089
# Enable presets.
20832090
# https://golangci-lint.run/usage/linters

0 commit comments

Comments
 (0)