Skip to content

Commit 616395d

Browse files
committed
docs(contextcheck): add disable-fact config
1 parent aa09fc6 commit 616395d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.reference.yml

+7
Original file line numberDiff line numberDiff line change
@@ -1847,6 +1847,11 @@ linters-settings:
18471847
# Default: true
18481848
strict-append: true
18491849

1850+
contextcheck:
1851+
# If you use contextcheck in docker ci, and feel a little bit slow, you can turn on this option.
1852+
# Default: false
1853+
disable-fact: true
1854+
18501855
# The custom section can be used to define linter plugins to be loaded at runtime.
18511856
# See README documentation for more info.
18521857
custom:
@@ -1965,6 +1970,7 @@ linters:
19651970
- whitespace
19661971
- wrapcheck
19671972
- wsl
1973+
- contextcheck
19681974

19691975
# Enable all available linters.
19701976
# Default: false
@@ -2067,6 +2073,7 @@ linters:
20672073
- whitespace
20682074
- wrapcheck
20692075
- wsl
2076+
- contextcheck
20702077

20712078
# Enable presets.
20722079
# https://golangci-lint.run/usage/linters

0 commit comments

Comments
 (0)