summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-08-06 22:57:16 +0200
committerValery Piashchynski <[email protected]>2023-08-06 22:57:16 +0200
commitd5886b45fa3d8e65f6217f8f37fe848d6355c851 (patch)
tree6634496990556b9f1cf86a6e652d559632095299 /.golangci.yml
parent3bf88db8a91fcb79fb46c80abdbf55ab8d4a9f8f (diff)
feature: sd_notify support
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml4
1 files changed, 0 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml
index bc4f4ca8..6197acf9 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -20,8 +20,6 @@ linters-settings:
check-shadowing: true
golint:
min-confidence: 0.1
- gocyclo:
- min-complexity: 15
godot:
scope: declarations
capital: true
@@ -54,10 +52,8 @@ linters: # All available linters list: <https://golangci-lint.run/usage/linters/
- exhaustive # check exhaustiveness of enum switch statements
- exportloopref # checks for pointers to enclosing loop variables
- gochecknoglobals # Checks that no globals are present in Go code
- - gocognit # Computes and checks the cognitive complexity of functions
- goconst # Finds repeated strings that could be replaced by a constant
- gocritic # The most opinionated Go source code linter
- - gocyclo # Computes and checks the cyclomatic complexity of functions
- gofmt # Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification
- goimports # Goimports does everything that gofmt does. Additionally it checks unused imports
- revive