-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5d92b2
commit 34df5dd
Showing
3 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
linters: | ||
enable: | ||
- errorlint | ||
- gci | ||
- gocritic | ||
- gofumpt | ||
- misspell | ||
- nonamedreturns | ||
|
||
linters-settings: | ||
errorlint: | ||
# Check whether fmt.Errorf uses the %w verb for formatting errors. | ||
# See the https://github.com/polyfloyd/go-errorlint for caveats. | ||
errorf: true | ||
# Permit more than 1 %w verb, valid per Go 1.20 (Requires errorf:true) | ||
errorf-multi: true | ||
# Check for plain type assertions and type switches. | ||
asserts: true | ||
# Check for plain error comparisons. | ||
comparison: true | ||
gci: | ||
sections: | ||
- standard | ||
- default | ||
- prefix(github.com/testcontainers) | ||
run: | ||
timeout: 5m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters