Skip to content

docs: update documentation assets #5951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .golangci.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,10 @@ linters:
# Default: false
force-succeed: true

# Force adding assertion descriptions to gomega matchers.
# Default: false
force-assertion-description: true

gochecksumtype:
# Presence of `default` case in switch statements satisfies exhaustiveness, if all members are not listed.
# Default: true
Expand Down Expand Up @@ -2389,6 +2393,12 @@ linters:
exclude: [""]
arguments:
- "make"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#enforce-switch-style
- name: enforce-switch-style
severity: warning
disabled: false
exclude: [""]
arguments: [ "allowNoDefault" ]
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#error-naming
- name: error-naming
severity: warning
Expand Down Expand Up @@ -2679,7 +2689,7 @@ linters:
disabled: false
exclude: [""]
arguments:
- "fmt.Printf"
- "^fmt.Printf"
- "myFunction"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#unnecessary-format
- name: unnecessary-format
Expand Down Expand Up @@ -2743,7 +2753,12 @@ linters:
arguments:
- [ "ID" ] # AllowList
- [ "VM" ] # DenyList
- - upper-case-const: true # Extra parameter (upper-case-const|skip-package-name-checks)
- - skip-initialism-name-checks: true
upper-case-const: true
skip-package-name-checks: true
extra-bad-package-names:
- helpers
- models
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#waitgroup-by-value
- name: waitgroup-by-value
severity: warning
Expand Down
6 changes: 6 additions & 0 deletions jsonschema/golangci.jsonschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@
"enforce-map-style",
"enforce-repeated-arg-type-style",
"enforce-slice-style",
"enforce-switch-style",
"error-naming",
"error-return",
"error-strings",
Expand Down Expand Up @@ -1509,6 +1510,11 @@
"description": "Force using the Succeed matcher for error functions, and the HaveOccurred matcher for non-function error values.",
"type": "boolean",
"default": false
},
"force-assertion-description": {
"description": "Force adding assertion descriptions to gomega matchers.",
"type": "boolean",
"default": false
}
}
},
Expand Down
Loading
Loading