diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-09-09 12:34:54 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-09-09 11:33:05 +0000 |
| commit | ae87b992eec5701c557a51e607faf6e7e659de10 (patch) | |
| tree | 80a95ae511eb385045f72895aa85ee9f4ef2416f | |
| parent | 1b49e65b89c3dc2abddb36c6c524c68c3c9c60bd (diff) | |
golangci.yml: allow to use string 'true' (goconst)
| -rw-r--r-- | .golangci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml index 92835ec6e..67debd4c1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -83,7 +83,7 @@ linters-settings: min-len: 3 min-occurrences: 3 ignore-tests: true # re-enable once goconst 1.7.0+ merged into golangci-lint - ignore-strings: '.html' + ignore-strings: '\.html|^true$' nestif: # TODO: consider reducing this value. min-complexity: 12 |
