Skip to content

Commit 7e504a2

Browse files
committed
build(deps): bump nilnil from v0.1.8 to v0.1.9
1 parent 8fe47a9 commit 7e504a2

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.golangci.next.reference.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,14 +1387,16 @@ linters-settings:
13871387
min-complexity: 4
13881388

13891389
nilnil:
1390-
# Checks that there is no simultaneous return of `nil` error and an invalid value.
1391-
# Default: ["ptr", "func", "iface", "map", "chan"]
1390+
# List of return types to check.
1391+
# Default: ["ptr", "func", "iface", "map", "chan", "uintptr", "unsafeptr"]
13921392
checked-types:
13931393
- ptr
13941394
- func
13951395
- iface
13961396
- map
13971397
- chan
1398+
- uintptr
1399+
- unsafeptr
13981400

13991401
nlreturn:
14001402
# Size of the block (including return statement that is still "OK")

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/4meepo/tagalign v1.3.4
99
github.com/Abirdcfly/dupword v0.0.14
1010
github.com/Antonboom/errname v0.1.13
11-
github.com/Antonboom/nilnil v0.1.8
11+
github.com/Antonboom/nilnil v0.1.9
1212
github.com/Antonboom/testifylint v1.2.0
1313
github.com/BurntSushi/toml v1.3.2
1414
github.com/Crocmagnon/fatcontext v0.2.2

go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jsonschema/golangci.next.jsonschema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,11 +2082,11 @@
20822082
"properties": {
20832083
"checked-types": {
20842084
"type": "array",
2085-
"description": "Order of return types to check.",
2085+
"description": "List of return types to check.",
20862086
"items": {
2087-
"enum": ["ptr", "func", "iface", "map", "chan"]
2087+
"enum": ["ptr", "func", "iface", "map", "chan", "uintptr", "unsafeptr"]
20882088
},
2089-
"default": ["ptr", "func", "iface", "map", "chan"]
2089+
"default": ["ptr", "func", "iface", "map", "chan", "uintptr", "unsafeptr"]
20902090
}
20912091
}
20922092
},

0 commit comments

Comments
 (0)