mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 10:10:42 -07:00
Merge branch 'main' into dev
This commit is contained in:
@@ -22,6 +22,7 @@ linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
# - errcheck
|
||||
- forbidigo
|
||||
- gofmt
|
||||
# - goimports
|
||||
- gosimple
|
||||
@@ -39,6 +40,9 @@ linters-settings:
|
||||
errcheck:
|
||||
check-type-assertions: false
|
||||
check-blank: false
|
||||
forbidigo:
|
||||
forbid:
|
||||
- ^fmt\.Print(f|ln)?$
|
||||
govet:
|
||||
check-shadowing: false
|
||||
settings:
|
||||
@@ -58,3 +62,14 @@ linters-settings:
|
||||
simple: true
|
||||
range-loops: true
|
||||
for-loops: true
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: "main.go" # Excludes main usage
|
||||
linters: [forbidigo]
|
||||
- source: "nats-server: v%s" # Excludes PrintServerAndExit
|
||||
linters: [forbidigo]
|
||||
- path: "server/opts.go" # Excludes TLS usage options
|
||||
linters: [forbidigo]
|
||||
- path: "_test.go" # Excludes unit tests
|
||||
linters: [forbidigo]
|
||||
|
||||
@@ -41,7 +41,7 @@ var (
|
||||
|
||||
const (
|
||||
// VERSION is the current version for the server.
|
||||
VERSION = "2.10.0-beta.10"
|
||||
VERSION = "2.10.0-beta.12"
|
||||
|
||||
// PROTO is the currently supported protocol.
|
||||
// 0 was the original
|
||||
|
||||
Reference in New Issue
Block a user