-
Notifications
You must be signed in to change notification settings - Fork 1
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
f5ff3b5
commit f1343bf
Showing
173 changed files
with
48,370 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
bin | ||
|
||
# Test binary, build with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Kubernetes Generated files - skip generated files, except for vendored files | ||
|
||
!vendor/**/zz_generated.* | ||
|
||
# editor and IDE paraphernalia | ||
.idea | ||
*.swp | ||
*.swo | ||
*~ | ||
.vscode/ | ||
*.dos | ||
coverage.txt | ||
performance/ |
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,57 @@ | ||
run: | ||
skip-dirs: | ||
- test | ||
- performance | ||
- example | ||
linters-settings: | ||
stylecheck: | ||
# Select the Go version to target. | ||
# Default: 1.13 | ||
go: "1.15" | ||
# https://staticcheck.io/docs/options#checks | ||
checks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022"] | ||
# https://staticcheck.io/docs/options#dot_import_whitelist | ||
dot-import-whitelist: | ||
- fmt | ||
# https://staticcheck.io/docs/options#initialisms | ||
initialisms: ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS"] | ||
# https://staticcheck.io/docs/options#http_status_code_whitelist | ||
http-status-code-whitelist: ["200", "400", "404", "500"] | ||
linters: | ||
enable-all: true | ||
disable: | ||
- wrapcheck | ||
- ireturn | ||
- dupl | ||
- varnamelen | ||
- gosec | ||
- gocyclo | ||
- stylecheck | ||
- nlreturn | ||
- gochecknoglobals | ||
- goerr113 | ||
- gomnd | ||
- maintidx | ||
- gofumpt | ||
- gci | ||
- gocritic | ||
- forcetypeassert | ||
- exhaustivestruct | ||
- exhaustruct | ||
- exhaustive | ||
- cyclop | ||
- containedctx | ||
- wsl | ||
- paralleltest | ||
- testpackage | ||
- maligned | ||
- gocognit | ||
- forbidigo | ||
- nestif | ||
- lll | ||
- funlen | ||
- godox | ||
- scopelint | ||
- golint | ||
- interfacer | ||
- ifshort |
Oops, something went wrong.