This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Update to SDK V4 & fix infinite loop on transactions (#10)
- Loading branch information
Showing
37 changed files
with
827 additions
and
288 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,122 @@ | ||
run: | ||
tests: true | ||
skip-dirs: | ||
- bin | ||
- docs | ||
- client/mocks | ||
- resources/forks | ||
- codegen | ||
- internal/trello | ||
timeout: 15m | ||
build-tags: | ||
- all | ||
|
||
linters-settings: | ||
errcheck: | ||
check-blank: false | ||
ignore: fmt:.*,[rR]ead|[wW]rite|[cC]lose,io:Copy | ||
gocritic: | ||
disabled-checks: | ||
- commentFormatting | ||
dupl: | ||
# tokens count to trigger issue, 150 by default | ||
threshold: 500 | ||
|
||
misspell: | ||
ignore-words: | ||
- hdinsight | ||
|
||
revive: | ||
enable-all-rules: true | ||
rules: | ||
- name: cyclomatic | ||
disabled: true | ||
- name: argument-limit | ||
disabled: true | ||
- name: function-length | ||
disabled: true | ||
- name: function-result-limit | ||
disabled: true | ||
- name: line-length-limit | ||
disabled: true | ||
- name: file-header | ||
disabled: true | ||
- name: cognitive-complexity | ||
disabled: true | ||
- name: banned-characters | ||
disabled: true | ||
- name: max-public-structs | ||
disabled: true | ||
- name: add-constant | ||
disabled: true | ||
- name: unhandled-error | ||
disabled: true | ||
- name: var-naming | ||
disabled: true | ||
- name: deep-exit | ||
disabled: true | ||
- name: exported | ||
disabled: false | ||
arguments: | ||
- 'disableStutteringCheck' | ||
- name: unused-parameter | ||
disabled: true | ||
- name: confusing-naming | ||
disabled: true | ||
- name: confusing-results | ||
disabled: true | ||
- name: flag-parameter | ||
disabled: true | ||
- name: nested-structs | ||
disabled: true | ||
- name: unchecked-type-assertion | ||
disabled: true | ||
- name: import-alias-naming | ||
disabled: true | ||
- name: redundant-import-alias | ||
disabled: true | ||
|
||
gofmt: | ||
rewrite-rules: | ||
- pattern: 'interface{}' | ||
replacement: 'any' | ||
- pattern: 'a[b:len(a)]' | ||
replacement: 'a[b:]' | ||
|
||
|
||
linters: | ||
enable: | ||
- asciicheck | ||
- bodyclose | ||
- dupl | ||
- errcheck | ||
- gocritic | ||
- gofmt | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- importas | ||
- misspell | ||
- nakedret | ||
- prealloc | ||
- revive | ||
- staticcheck | ||
- unconvert | ||
- unparam | ||
- unused | ||
|
||
issues: | ||
exclude-rules: | ||
# Exclude some linters from running on tests files. | ||
- path: _test\.go | ||
linters: | ||
- dupl | ||
- gocritic | ||
# Exclude some linters from running on resource files. | ||
- path: resources(\\|\/).*\.go | ||
linters: | ||
- dupl | ||
# Exclude some linters from running on services files. | ||
- path: services\.go | ||
linters: | ||
- dupl |
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
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.