Skip to content

Commit

Permalink
docs(contextcheck): add disable-fact config
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvia7788 committed Aug 17, 2022
1 parent aa09fc6 commit 616395d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .golangci.reference.yml
Expand Up @@ -1847,6 +1847,11 @@ linters-settings:
# Default: true
strict-append: true

contextcheck:
# If you use contextcheck in docker ci, and feel a little bit slow, you can turn on this option.
# Default: false
disable-fact: true

# The custom section can be used to define linter plugins to be loaded at runtime.
# See README documentation for more info.
custom:
Expand Down Expand Up @@ -1965,6 +1970,7 @@ linters:
- whitespace
- wrapcheck
- wsl
- contextcheck

# Enable all available linters.
# Default: false
Expand Down Expand Up @@ -2067,6 +2073,7 @@ linters:
- whitespace
- wrapcheck
- wsl
- contextcheck

# Enable presets.
# https://golangci-lint.run/usage/linters
Expand Down

0 comments on commit 616395d

Please sign in to comment.