This repository has been archived on 2023-10-05. You can view files and clone it, but cannot push or open issues or pull requests.
2020-12-09 11:20:59 +00:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
|
|
|
modules-download-mode: readonly
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
goconst:
|
|
|
|
min-len: 2
|
|
|
|
min-occurrences: 2
|
|
|
|
gofmt:
|
|
|
|
simplify: true
|
|
|
|
goimports:
|
|
|
|
local-prefixes: github.com/mattermost/mattermost-plugin-mscalendar
|
|
|
|
govet:
|
|
|
|
check-shadowing: true
|
|
|
|
enable-all: true
|
2023-02-03 12:03:57 +00:00
|
|
|
disable:
|
|
|
|
- fieldalignment
|
2020-12-09 11:20:59 +00:00
|
|
|
misspell:
|
|
|
|
locale: US
|
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- bodyclose
|
|
|
|
# - errcheck
|
|
|
|
# - goconst
|
|
|
|
- gocritic
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
# - gosec
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
# - misspell
|
|
|
|
- nakedret
|
2023-02-03 12:03:57 +00:00
|
|
|
- revive
|
2020-12-09 11:20:59 +00:00
|
|
|
- staticcheck
|
|
|
|
- stylecheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unused
|
|
|
|
- whitespace
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: server/manifest.go
|
|
|
|
linters:
|
|
|
|
- deadcode
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- path: server/configuration.go
|
|
|
|
linters:
|
|
|
|
- unused
|
|
|
|
- path: _test\.go
|
|
|
|
linters:
|
|
|
|
- bodyclose
|
|
|
|
- goconst
|
|
|
|
- scopelint # https://github.com/kyoh86/scopelint/issues/4
|