-
Notifications
You must be signed in to change notification settings - Fork 43
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
Showing
265 changed files
with
38,467 additions
and
4,121 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 |
---|---|---|
@@ -1,29 +1,64 @@ | ||
run: | ||
timeout: 5m | ||
timeout: 10m | ||
|
||
|
||
linters: | ||
enable: | ||
- deadcode | ||
- bodyclose | ||
- depguard | ||
- dogsled | ||
- errcheck | ||
- gosimple | ||
- exportloopref | ||
- goconst | ||
- gocritic | ||
- gofumpt | ||
- goimports | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
- nakedret | ||
- nestif | ||
- nolintlint | ||
- staticcheck | ||
- structcheck | ||
- stylecheck | ||
- typecheck | ||
- unconvert | ||
- unused | ||
- varcheck | ||
|
||
|
||
linters-settings: | ||
dogsled: | ||
# Checks assignments with too many blank identifiers. | ||
# Default: 2 | ||
max-blank-identifiers: 3 | ||
|
||
gocritic: | ||
# Which checks should be disabled; can't be combined with 'enabled-checks'. | ||
# See https://go-critic.github.io/overview#checks-overview. | ||
# Default: [] | ||
disabled-checks: | ||
- regexpMust | ||
- badCall # Remove this after CI workflow PR | ||
|
||
gofumpt: | ||
lang-version: "1.18" | ||
|
||
misspell: | ||
ignore-words: | ||
- cheqd | ||
- cheq | ||
- ncheq | ||
|
||
stylecheck: | ||
# Select the Go version to target. | ||
go: "1.18" | ||
# STxxxx checks in https://staticcheck.io/docs/configuration/options/#checks | ||
# Default: ["*"] | ||
checks: ["all"] | ||
# https://staticcheck.io/docs/configuration/options/#dot_import_whitelist | ||
dot-import-whitelist: | ||
- "github.com/cheqd/cheqd-node/x/did/utils" | ||
- "github.com/onsi/gomega" | ||
# https://staticcheck.io/docs/configuration/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", "SIP", "RTP", "AMQP", "DB", "TS"] |
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,11 @@ | ||
--- | ||
|
||
########################## | ||
########################## | ||
## OpenAPI Linter rules ## | ||
########################## | ||
########################## | ||
|
||
extends: spectral:oas | ||
rules: | ||
oas2-schema: warn |
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
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.