-
Notifications
You must be signed in to change notification settings - Fork 126
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
Update AvalancheGo dep to include latest + ACP-118 #1961
base: main
Are you sure you want to change the base?
Changes from all commits
d7f5bed
3a1d261
8548fa1
b8807f8
283ba89
edb82f7
d9c0f19
4ef20a3
401e742
7d10b2d
5a82f8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,6 @@ run: | |
# By default, it isn't set. | ||
modules-download-mode: readonly | ||
|
||
output: | ||
# Make issues output unique by line. | ||
# Default: true | ||
uniq-by-line: false | ||
|
||
issues: | ||
# Maximum issues count per one linter. | ||
# Set to 0 to disable. | ||
|
@@ -36,6 +31,10 @@ issues: | |
# Default: true | ||
exclude-dirs-use-default: false | ||
|
||
# Make issues output unique by line. | ||
# Default: true | ||
uniq-by-line: false | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
|
@@ -45,7 +44,7 @@ linters: | |
- dupword | ||
- errcheck | ||
- errorlint | ||
- exportloopref | ||
- copyloopvar | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed as of go1.23 |
||
- forbidigo | ||
- gci | ||
- goconst | ||
|
@@ -121,6 +120,7 @@ linters-settings: | |
gosec: | ||
excludes: | ||
- G107 # Url provided to HTTP request as taint input https://securego.io/docs/rules/g107 | ||
- G115 # TODO Enable this ruleset in a follow-up PR | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Disable majority of newly introduced linting errors with the golangci / golang version bump |
||
importas: | ||
# Do not allow unaliased imports of aliased packages. | ||
no-unaliased: false | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ linters: | |
- depguard | ||
- errcheck | ||
- errorlint | ||
- exportloopref | ||
- copyloopvar | ||
- goconst | ||
- gocritic | ||
- gofmt | ||
|
@@ -45,11 +45,9 @@ linters: | |
- whitespace | ||
- staticcheck | ||
- bodyclose | ||
- structcheck | ||
# - lll | ||
# - gomnd | ||
- goprintffuncname | ||
- interfacer | ||
Comment on lines
-48
to
-52
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No longer supported |
||
- typecheck | ||
# - goerr113 | ||
- noctx | ||
|
@@ -107,6 +105,7 @@ linters-settings: | |
gosec: | ||
excludes: | ||
- G107 # https://securego.io/docs/rules/g107.html | ||
- G115 # TODO Enable this ruleset in a follow-up PR | ||
depguard: | ||
rules: | ||
packages: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as https://github.com/ava-labs/avalanchego/pull/3739/files#r1966546088