Skip to content

Commit c69121f

Browse files
committed
chore: update implementation
1 parent adf8e85 commit c69121f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.golangci.next.reference.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,10 @@ linters-settings:
652652
# Default: false
653653
forbid-spec-pollution: true
654654

655+
# Force using the Succeed matcher for error functions, and the HaveOccurred matcher for non-function error values.
656+
# Default: false
657+
force-succeed: true
658+
655659
gochecksumtype:
656660
# Presence of `default` case in switch statements satisfies exhaustiveness, if all members are not listed.
657661
# Default: true

jsonschema/golangci.next.jsonschema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,11 @@
11801180
"description": "Trigger a warning for variable assignments in ginkgo containers like `Describe`, `Context` and `When`, instead of in `BeforeEach()`.",
11811181
"type": "boolean",
11821182
"default": false
1183+
},
1184+
"force-succeed": {
1185+
"description": "Force using the Succeed matcher for error functions, and the HaveOccurred matcher for non-function error values.",
1186+
"type": "boolean",
1187+
"default": false
11831188
}
11841189
}
11851190
},

0 commit comments

Comments
 (0)