-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/go_modules/api/entgo.io/ent-0.14.1
- Loading branch information
Showing
23 changed files
with
229 additions
and
275 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
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
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
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 |
---|---|---|
@@ -1,53 +1,30 @@ | ||
|
||
# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json | ||
linters: | ||
enable: | ||
- deadcode | ||
- errcheck | ||
- errorlint | ||
- forbidigo | ||
- gci | ||
- gofmt | ||
- goimports | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- staticcheck | ||
- structcheck | ||
- typecheck | ||
- unused | ||
- varcheck | ||
- whitespace | ||
|
||
linters-settings: | ||
forbidigo: | ||
# These are forbidden in non-test files | ||
# If you have mock functions,etc that are meant to be used in tests | ||
# please add them here | ||
# If you have mock functions,etc that are meant to be used in tests please add them here | ||
forbid: | ||
- ^fmt\.Errorf$ | ||
- ^fmt\.Print.*$ | ||
- ^spew\.Dump$ | ||
- ^println$ | ||
depguard: | ||
list-type: denylist | ||
include-go-root: true | ||
packages-with-error-message: | ||
- errors: "please use github.com/pkg/errors instead" | ||
- golang.org/x/xerrors: "please use github.com/pkg/errors instead" | ||
- gopkg.in/yaml.v2: "please use gopkg.in/yaml.v3 instead" | ||
additional-guards: | ||
# Do not allow test code into "real" code | ||
- list-type: denylist | ||
include-go-root: false | ||
packages: | ||
- github.com/stretchr/testify | ||
- github.com/happy/pkg/backend/aws/testbackend | ||
ignore-file-rules: | ||
- "**/*_test.go" | ||
- "**/mock/**/*.go" | ||
- "pkg/backend/aws/testbackend/*.go" | ||
|
||
issues: | ||
fix: true | ||
exclude-rules: | ||
# Exclude some linters from running on tests files. | ||
- path: _test\.go | ||
linters: | ||
- forbidigo | ||
|
||
output: | ||
formats: | ||
- format: tab | ||
show-stats: true | ||
|
||
run: | ||
timeout: 20m |
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
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
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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
go 1.22.0 | ||
|
||
toolchain go1.22.7 | ||
go 1.23.0 | ||
|
||
module github.com/chanzuckerberg/happy/cli | ||
|
||
|
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
Oops, something went wrong.