Skip to content

Commit 039a459

Browse files
authored
chore: disable deprecated linter execinquery (#2602)
1 parent 4b9ba52 commit 039a459

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ linters:
1616
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
1717
- errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and optionally reports occasions, where the check for the returned error can be omitted. [fast: false, auto-fix: false]
1818
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`. [fast: false, auto-fix: false]
19-
- execinquery # execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds [fast: false, auto-fix: false]
2019
- exportloopref # checks for pointers to enclosing loop variables [fast: false, auto-fix: false]
2120
- forbidigo # Forbids identifiers [fast: true, auto-fix: false]
2221
- gci # Gci controls golang package import order and makes it always deterministic. [fast: true, auto-fix: false]
@@ -76,6 +75,7 @@ linters:
7675
- depguard # Go linter that checks if package imports are in a list of acceptable packages [fast: true, auto-fix: false]
7776
- dupl # Tool for code clone detection [fast: true, auto-fix: false]
7877
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
78+
- execinquery # execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds [fast: false, auto-fix: false]
7979
- exhaustive # check exhaustiveness of enum switch statements [fast: false, auto-fix: false]
8080
- forcetypeassert # finds forced type assertions [fast: true, auto-fix: false]
8181
- funlen # Tool for detection of long functions [fast: true, auto-fix: false]
@@ -84,7 +84,7 @@ linters:
8484
- gocognit # Computes and checks the cognitive complexity of functions [fast: true, auto-fix: false]
8585
- godot # Check if comments end in a period [fast: true, auto-fix: true]
8686
- godox # Tool for detection of FIXME, TODO and other comment keywords [fast: true, auto-fix: false]
87-
- goerr113 # Golang linter to check the errors handling expressions [fast: false, auto-fix: false]
87+
- err113 # Golang linter to check the errors handling expressions [fast: false, auto-fix: false]
8888
- gomnd # An analyzer to detect magic numbers. [fast: true, auto-fix: false]
8989
- lll # Reports long lines [fast: true, auto-fix: false]
9090
- maintidx # maintidx measures the maintainability index of each function. [fast: true, auto-fix: false]

0 commit comments

Comments
 (0)