f1b8d88d6b
* Improving mattermost auth implementation * Making mattermost-auth based on shared database access * Reverting unneeded changes in the config.json file * Fixing tiny problems * Removing the need of using the mattermost session token * Fixing some bugs and allowing to not-bind the server to any port * Small fix to correctly get the templates * Adding the mattermost-plugin code inside focalboard repo * Adding a not working code part of the cluster websocket communication * Updating the mattermost version * Adding the cluster messages for the websockets * Updating to the new node version * Making it compatible with S3 * Addressing some tiny problems * Fixing server tests * Adds support for MySQL migrations and initialization Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
56 lines
976 B
YAML
56 lines
976 B
YAML
run:
|
|
timeout: 5m
|
|
modules-download-mode: readonly
|
|
|
|
linters-settings:
|
|
gofmt:
|
|
simplify: true
|
|
goimports:
|
|
local-prefixes: github.com/mattermost/mattermost-starter-template
|
|
golint:
|
|
min-confidence: 0
|
|
govet:
|
|
check-shadowing: true
|
|
enable-all: true
|
|
misspell:
|
|
locale: US
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- errcheck
|
|
- gocritic
|
|
- gofmt
|
|
- goimports
|
|
- golint
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: server/manifest.go
|
|
linters:
|
|
- deadcode
|
|
- unused
|
|
- varcheck
|
|
- path: server/configuration.go
|
|
linters:
|
|
- unused
|
|
- path: _test\.go
|
|
linters:
|
|
- bodyclose
|
|
- scopelint # https://github.com/kyoh86/scopelint/issues/4
|