@@ -1848,6 +1848,9 @@ linters-settings:
1848
1848
- T any
1849
1849
- m map[string]int
1850
1850
1851
+ vulncheck :
1852
+ vuln-database : [https://vuln.go.dev]
1853
+
1851
1854
whitespace :
1852
1855
# Enforces newlines (or comments) after every multi-line if statement.
1853
1856
# Default: false
@@ -1892,48 +1895,48 @@ linters-settings:
1892
1895
# this is set to true - the append call must append either a variable
1893
1896
# assigned, called or used on the line above.
1894
1897
strict-append : true
1895
-
1898
+
1896
1899
# Allows assignments to be cuddled with variables used in calls on
1897
1900
# line above and calls to be cuddled with assignments of variables
1898
1901
# used in call on line above.
1899
1902
allow-assign-and-call : true
1900
-
1903
+
1901
1904
# Allows assignments to be cuddled with anything.
1902
1905
allow-assign-and-anything : false
1903
-
1906
+
1904
1907
# Allows cuddling to assignments even if they span over multiple lines.
1905
1908
allow-multiline-assign : true
1906
-
1909
+
1907
1910
# If the number of lines in a case block is equal to or lager than this
1908
1911
# number, the case *must* end white a newline.
1909
1912
force-case-trailing-whitespace : 0
1910
-
1913
+
1911
1914
# Allow blocks to end with comments.
1912
1915
allow-trailing-comment : false
1913
-
1916
+
1914
1917
# Allow multiple comments in the beginning of a block separated with newline.
1915
1918
allow-separated-leading-comment : false
1916
-
1919
+
1917
1920
# Allow multiple var/declaration statements to be cuddled.
1918
1921
allow-cuddle-declarations : false
1919
-
1922
+
1920
1923
# A list of call idents that everything can be cuddled with.
1921
1924
# Defaults to calls looking like locks.
1922
1925
allow-cuddle-with-calls : [ "Lock", "RLock" ]
1923
-
1926
+
1924
1927
# AllowCuddleWithRHS is a list of right hand side variables that is allowed
1925
1928
# to be cuddled with anything. Defaults to assignments or calls looking
1926
1929
# like unlocks.
1927
1930
allow-cuddle-with-rhs : [ "Unlock", "RUnlock" ]
1928
-
1931
+
1929
1932
# Causes an error when an If statement that checks an error variable doesn't
1930
1933
# cuddle with the assignment of that variable.
1931
1934
enforce-err-cuddling : false
1932
-
1935
+
1933
1936
# When enforce-err-cuddling is enabled this is a list of names
1934
1937
# used for error variables to check for in the conditional.
1935
1938
error-variable-names : [ "err" ]
1936
-
1939
+
1937
1940
# Causes an error if a short declaration (:=) cuddles with anything other than
1938
1941
# another short declaration.
1939
1942
# This logic overrides enforce-err-cuddling among others.
@@ -2058,6 +2061,7 @@ linters:
2058
2061
- usestdlibvars
2059
2062
- varcheck
2060
2063
- varnamelen
2064
+ - vulncheck
2061
2065
- wastedassign
2062
2066
- whitespace
2063
2067
- wrapcheck
@@ -2165,6 +2169,7 @@ linters:
2165
2169
- usestdlibvars
2166
2170
- varcheck
2167
2171
- varnamelen
2172
+ - vulncheck
2168
2173
- wastedassign
2169
2174
- whitespace
2170
2175
- wrapcheck
0 commit comments