mirror of https://github.com/go-gitea/gitea
enable exclude-case-sensitive and fix one odd error that came up
This commit is contained in:
parent
c162f32289
commit
85a0a8cb67
|
@ -99,6 +99,7 @@ issues:
|
||||||
max-issues-per-linter: 0
|
max-issues-per-linter: 0
|
||||||
max-same-issues: 0
|
max-same-issues: 0
|
||||||
exclude-dirs: [node_modules, public, web_src]
|
exclude-dirs: [node_modules, public, web_src]
|
||||||
|
exclude-case-sensitive: true
|
||||||
exclude-rules:
|
exclude-rules:
|
||||||
- path: _test\.go
|
- path: _test\.go
|
||||||
linters: [gocyclo, errcheck, dupl, gosec, unparam, staticcheck]
|
linters: [gocyclo, errcheck, dupl, gosec, unparam, staticcheck]
|
||||||
|
|
|
@ -465,7 +465,7 @@ func hookPrintResult(output, isCreate bool, branch, url string) {
|
||||||
fmt.Fprintf(os.Stderr, " %s\n", url)
|
fmt.Fprintf(os.Stderr, " %s\n", url)
|
||||||
}
|
}
|
||||||
fmt.Fprintln(os.Stderr, "")
|
fmt.Fprintln(os.Stderr, "")
|
||||||
os.Stderr.Sync()
|
_ = os.Stderr.Sync()
|
||||||
}
|
}
|
||||||
|
|
||||||
func pushOptions() map[string]string {
|
func pushOptions() map[string]string {
|
||||||
|
|
Loading…
Reference in New Issue