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 authored and ldez committed Aug 23, 2022
1 parent 7c680e9 commit b6b99b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .golangci.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,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 @@ -1974,6 +1979,7 @@ linters:
- whitespace
- wrapcheck
- wsl
- contextcheck

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

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

0 comments on commit b6b99b5

Please sign in to comment.