MSP-623 update linter
This commit is contained in:
1 parent
9c1fc87430
commit
f40b91a431
1 file changed
+1
-3
+1
-3
@@ -18,7 +18,6 @@ linters:
|
||||
- goprintffuncname
|
||||
- gosimple
|
||||
- govet
|
||||
- maligned
|
||||
- nakedret
|
||||
- nestif
|
||||
- nolintlint
|
||||
@@ -38,8 +37,6 @@ linters:
|
||||
- exportloopref #for _,p := []int{1, 2, 3} { s.Bar(&p) /* If s stores the pointer, it will be bug.*/ }
|
||||
- sqlclosecheck # Checks that sql.Rows and sql.Stmt are closed.
|
||||
linters-settings:
|
||||
maligned:
|
||||
suggest-new: true
|
||||
funlen:
|
||||
lines: 80
|
||||
statements: 40
|
||||
@@ -58,6 +55,7 @@ linters-settings:
|
||||
disabled-checks:
|
||||
- hugeParam
|
||||
- rangeValCopy
|
||||
- ifElseChain
|
||||
exhaustive:
|
||||
default-signifies-exhaustive: true
|
||||
|
||||
|
||||
Reference in new issue
Block a user