Skip to content

build(deps): bump github.com/mgechev/revive from 1.7.0 to 1.8.0 #5663

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
Apr 4, 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
60 changes: 30 additions & 30 deletions .golangci.next.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2169,10 +2169,10 @@ linters:
disabled: false
exclude: [""]
arguments:
- maxLitCount: "3"
allowStrs: '""'
allowInts: "0,1,2"
allowFloats: "0.0,0.,1.0,1.,2.0,2."
- max-lit-count: "3"
allow-strs: '""'
allow-ints: "0,1,2"
allow-floats: "0.0,0.,1.0,1.,2.0,2."
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#argument-limit
- name: argument-limit
severity: warning
Expand Down Expand Up @@ -2251,7 +2251,7 @@ linters:
disabled: false
exclude: [""]
arguments:
- allowTypesBefore: "*testing.T,*github.com/user/repo/testing.Harness"
- allow-types-before: "*testing.T,*github.com/user/repo/testing.Harness"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#context-keys-type
- name: context-keys-type
severity: warning
Expand Down Expand Up @@ -2291,7 +2291,7 @@ linters:
disabled: false
exclude: [""]
arguments:
- allowedPackages: ["github.com/onsi/ginkgo/v2", "github.com/onsi/gomega"]
- allowed-packages: ["github.com/onsi/ginkgo/v2", "github.com/onsi/gomega"]
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#duplicated-imports
- name: duplicated-imports
severity: warning
Expand All @@ -2303,8 +2303,8 @@ linters:
disabled: false
exclude: [""]
arguments:
- "preserveScope"
- "allowJump"
- "preserve-scope"
- "allow-jump"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#empty-block
- name: empty-block
severity: warning
Expand All @@ -2330,8 +2330,8 @@ linters:
arguments:
- "short"
# Or this parameter:
- funcArgStyle: "full"
funcRetValStyle: "short"
- func-arg-style: "full"
func-ret-val-style: "short"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#enforce-slice-style
- name: enforce-slice-style
severity: warning
Expand Down Expand Up @@ -2367,15 +2367,15 @@ linters:
disabled: false
exclude: [""]
arguments:
- "checkPrivateReceivers"
- "disableStutteringCheck"
- "sayRepetitiveInsteadOfStutters"
- "checkPublicInterface"
- "disableChecksOnConstants"
- "disableChecksOnFunctions"
- "disableChecksOnMethods"
- "disableChecksOnTypes"
- "disableChecksOnVariables"
- "check-private-receivers"
- "disable-stuttering-check"
- "say-repetitive-instead-of-stutters"
- "check-public-interface"
- "disable-checks-on-constants"
- "disable-checks-on-functions"
- "disable-checks-on-methods"
- "disable-checks-on-types"
- "disable-checks-on-variables"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#file-header
- name: file-header
severity: warning
Expand All @@ -2390,8 +2390,8 @@ linters:
exclude: [""]
arguments:
- max: 100
skipComments: true
skipBlankLines: true
skip-comments: true
skip-blank-lines: true
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#filename-format
- name: filename-format
severity: warning
Expand Down Expand Up @@ -2439,8 +2439,8 @@ linters:
arguments:
- "^[a-z][a-z0-9]{0,}$"
# Or this parameter:
- allowRegex: "^[a-z][a-z0-9]{0,}$"
denyRegex: '^v\d+$'
- allow-regex: "^[a-z][a-z0-9]{0,}$"
deny-regex: '^v\d+$'
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#import-shadowing
- name: import-shadowing
severity: warning
Expand All @@ -2465,7 +2465,7 @@ linters:
disabled: false
exclude: [""]
arguments:
- "preserveScope"
- "preserve-scope"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#line-length-limit
- name: line-length-limit
severity: warning
Expand Down Expand Up @@ -2530,7 +2530,7 @@ linters:
disabled: false
exclude: [""]
arguments:
- maxLength: 2
- max-length: 2
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#redefines-builtin-id
- name: redefines-builtin-id
severity: warning
Expand Down Expand Up @@ -2580,7 +2580,7 @@ linters:
disabled: false
exclude: [""]
arguments:
- "preserveScope"
- "preserve-scope"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#time-equal
- name: time-equal
severity: warning
Expand All @@ -2597,7 +2597,7 @@ linters:
disabled: false
exclude: [""]
arguments:
- acceptIgnoredAssertionResult: true
- accept-ignored-assertion-result: true
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#unconditional-recursion
- name: unconditional-recursion
severity: warning
Expand Down Expand Up @@ -2637,14 +2637,14 @@ linters:
disabled: false
exclude: [""]
arguments:
- allowRegex: "^_"
- allow-regex: "^_"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#unused-receiver
- name: unused-receiver
severity: warning
disabled: false
exclude: [""]
arguments:
- allowRegex: "^_"
- allow-regex: "^_"
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#use-any
- name: use-any
severity: warning
Expand Down Expand Up @@ -2673,7 +2673,7 @@ linters:
arguments:
- [ "ID" ] # AllowList
- [ "VM" ] # DenyList
- - upperCaseConst: true # Extra parameter (upperCaseConst|skipPackageNameChecks)
- - upper-case-const: true # Extra parameter (upper-case-const|skip-package-name-checks)
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#waitgroup-by-value
- name: waitgroup-by-value
severity: warning
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ require (
github.com/maratori/testpackage v1.1.1
github.com/matoous/godox v1.1.0
github.com/mattn/go-colorable v0.1.14
github.com/mgechev/revive v1.7.0
github.com/mgechev/revive v1.8.0
github.com/mitchellh/go-homedir v1.1.0
github.com/moricho/tparallel v0.3.2
github.com/nakabonne/nestif v0.3.1
Expand Down Expand Up @@ -191,7 +191,7 @@ require (
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/spf13/afero v1.12.0 // indirect
github.com/spf13/afero v1.14.0 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading