forked from evrone/go-clean-template
-
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.
ci attempt fix and upgraded alt packages
- Loading branch information
1 parent
f380ba6
commit c25f2cd
Showing
22 changed files
with
342 additions
and
333 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 |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
*.so | ||
*.dylib | ||
bin/ | ||
*.log | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
|
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,137 +1,138 @@ | ||
linters-settings: | ||
gci: | ||
local-prefixes: github.com/evrone/go-clean-template | ||
dupl: | ||
threshold: 100 | ||
errorlint: | ||
errorf: true | ||
errcheck: | ||
check-type-assertions: true | ||
check-blank: true | ||
exhaustive: | ||
check-generated: false | ||
default-signifies-exhaustive: false | ||
funlen: | ||
lines: 65 | ||
statements: 40 | ||
gocognit: | ||
min-complexity: 15 | ||
gocyclo: | ||
min-complexity: 10 | ||
goconst: | ||
min-len: 2 | ||
min-occurrences: 2 | ||
gocritic: | ||
enabled-tags: | ||
- diagnostic | ||
- experimental | ||
- opinionated | ||
- performance | ||
- style | ||
disabled-checks: | ||
- dupImport | ||
- unnecessaryBlock | ||
gofumpt: | ||
extra-rules: true | ||
gomnd: | ||
settings: | ||
mnd: | ||
checks: | ||
- argument | ||
- case | ||
- condition | ||
- operation | ||
- return | ||
govet: | ||
check-shadowing: true | ||
misspell: | ||
locale: US | ||
nestif: | ||
min-complexity: 4 | ||
nolintlint: | ||
require-explanation: true | ||
require-specific: true | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- asciicheck | ||
- bodyclose | ||
- cyclop | ||
- deadcode | ||
- depguard | ||
- dogsled | ||
- dupl | ||
- durationcheck | ||
- errcheck | ||
- errorlint | ||
- exhaustive | ||
- exportloopref | ||
- forbidigo | ||
- funlen | ||
- gci | ||
- gochecknoglobals | ||
- gochecknoinits | ||
- gocognit | ||
- goconst | ||
- gocritic | ||
- gocyclo | ||
- godot | ||
- godox | ||
- goerr113 | ||
- gofmt | ||
- gofumpt | ||
- goimports | ||
- gomnd | ||
- gomodguard | ||
- goprintffuncname | ||
- gosec | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- makezero | ||
- misspell | ||
- nakedret | ||
- nestif | ||
- nlreturn | ||
- noctx | ||
- nolintlint | ||
- paralleltest | ||
- predeclared | ||
- revive | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- staticcheck | ||
- structcheck | ||
- stylecheck | ||
- tparallel | ||
- thelper | ||
- typecheck | ||
- unconvert | ||
- unparam | ||
- unused | ||
- varcheck | ||
- wsl | ||
- whitespace | ||
|
||
# disable: | ||
# - exhaustivestruct | ||
# - ifshort | ||
# - goheader | ||
# - prealloc | ||
# - testpackage | ||
# - wrapcheck | ||
|
||
issues: | ||
exclude-rules: | ||
- path: integration-test | ||
linters: | ||
- paralleltest | ||
- godot | ||
- path: internal/controller/http | ||
linters: | ||
- godot | ||
|
||
run: | ||
skip-dirs: | ||
- docs | ||
linters-settings: | ||
gci: | ||
local-prefixes: go-clean-template | ||
dupl: | ||
threshold: 100 | ||
errorlint: | ||
errorf: true | ||
errcheck: | ||
check-type-assertions: true | ||
check-blank: true | ||
exhaustive: | ||
check-generated: false | ||
default-signifies-exhaustive: false | ||
funlen: | ||
lines: 65 | ||
statements: 40 | ||
gocognit: | ||
min-complexity: 15 | ||
gocyclo: | ||
min-complexity: 10 | ||
goconst: | ||
min-len: 2 | ||
min-occurrences: 2 | ||
gocritic: | ||
enabled-tags: | ||
- diagnostic | ||
- experimental | ||
- opinionated | ||
- performance | ||
- style | ||
disabled-checks: | ||
- dupImport | ||
- unnecessaryBlock | ||
gofumpt: | ||
extra-rules: true | ||
gomnd: | ||
settings: | ||
mnd: | ||
checks: | ||
- argument | ||
- case | ||
- condition | ||
- operation | ||
- return | ||
govet: | ||
check-shadowing: true | ||
misspell: | ||
locale: US | ||
nestif: | ||
min-complexity: 4 | ||
nolintlint: | ||
require-explanation: true | ||
require-specific: true | ||
revive: | ||
rules: | ||
- name: dot-imports | ||
severity: warning | ||
disabled: true | ||
stylecheck: | ||
dot-import-whitelist: | ||
- go-hit | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- asciicheck | ||
- bodyclose | ||
- cyclop | ||
- dogsled | ||
- dupl | ||
- durationcheck | ||
- errcheck | ||
- errorlint | ||
- exhaustive | ||
- exportloopref | ||
- forbidigo | ||
- funlen | ||
- gochecknoglobals | ||
- gochecknoinits | ||
- gocognit | ||
- gocritic | ||
- gocyclo | ||
- godot | ||
- godox | ||
- goerr113 | ||
- gofmt | ||
- gofumpt | ||
- goimports | ||
- gomnd | ||
- gomodguard | ||
- goprintffuncname | ||
- gosec | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- makezero | ||
- misspell | ||
- nakedret | ||
- nestif | ||
- nlreturn | ||
- noctx | ||
- paralleltest | ||
- predeclared | ||
- revive | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- staticcheck | ||
- stylecheck | ||
- tparallel | ||
- thelper | ||
- typecheck | ||
- unconvert | ||
- unparam | ||
- unused | ||
- wsl | ||
- whitespace | ||
|
||
# disable: | ||
# - exhaustivestruct | ||
# - ifshort | ||
# - goheader | ||
# - prealloc | ||
# - testpackage | ||
# - wrapcheck | ||
|
||
issues: | ||
exclude-rules: | ||
- path: integration-test | ||
linters: | ||
- paralleltest | ||
- godot | ||
- path: internal/controller/http | ||
linters: | ||
- godot | ||
|
||
run: | ||
skip-dirs: | ||
- docs |
Oops, something went wrong.