feat: lodge server, client and admin
This commit is contained in:
commit
95fc50e2c2
84 files changed
+7625
No files matched your search
@@ -0,0 +1,60 @@
|
||||
version: "2"
|
||||
|
||||
linters:
|
||||
default: standard
|
||||
enable:
|
||||
- bodyclose
|
||||
- contextcheck
|
||||
- copyloopvar
|
||||
- errorlint
|
||||
- gocritic
|
||||
- gosec
|
||||
- misspell
|
||||
- perfsprint
|
||||
- revive
|
||||
- unconvert
|
||||
- unparam
|
||||
- usestdlibvars
|
||||
settings:
|
||||
gosec:
|
||||
excludes:
|
||||
- G104
|
||||
- G204
|
||||
- G301
|
||||
- G302
|
||||
- G304
|
||||
- G306
|
||||
- G122
|
||||
- G124
|
||||
- G703
|
||||
- G706
|
||||
revive:
|
||||
rules:
|
||||
- name: exported
|
||||
disabled: true
|
||||
- name: package-comments
|
||||
disabled: true
|
||||
errcheck:
|
||||
exclude-functions:
|
||||
- (*os.File).Close
|
||||
- (io.Closer).Close
|
||||
- (*database/sql.Rows).Close
|
||||
- (*database/sql.Tx).Rollback
|
||||
- (*lodge/internal/server.Store).Close
|
||||
- (*github.com/fsnotify/fsnotify.Watcher).Close
|
||||
- os.Unsetenv
|
||||
- os.Remove
|
||||
- fmt.Fprint
|
||||
- fmt.Fprintf
|
||||
- fmt.Fprintln
|
||||
|
||||
formatters:
|
||||
enable:
|
||||
- gofumpt
|
||||
- goimports
|
||||
settings:
|
||||
gofumpt:
|
||||
module-path: lodge
|
||||
goimports:
|
||||
local-prefixes:
|
||||
- lodge
|
||||
Reference in new issue
Block a user