mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
c8e729b6fe
* refactor: updated dependency for focalboard server * chore: more dependency fixes * refactor: removed the unless code * refactor: added ctx for login and removed unnessary code * refactor: bump up go version * refactor: removed the commented code * chore: upgraded golinter version * fix: linter issue * refactor: removed feature flg fix golinter * refactor: removed feature flag from code * revert: statistic and it's function * refactor: removed ProductLimit related code * refactor: removed isWithinViewsLimit implementation * refactor: moved function GetUsedCardsCount to statistics.go from cloud.go * refactor: removed insight code board * refactor: removed limit dialog * refactor: updated dependencies for linux * chore: golinter fix * chore: updated helper test function to use newLogger * fix: go test * refactor: db ping attempts from config * revert: feature in action * revert: feature flag in action * revert: boardsEditor setting --------- Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
82 lines
1.4 KiB
YAML
82 lines
1.4 KiB
YAML
run:
|
|
timeout: 5m
|
|
modules-download-mode: readonly
|
|
skip-files:
|
|
- product/boards_product.go
|
|
|
|
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
|
|
disable:
|
|
- fieldalignment
|
|
misspell:
|
|
locale: US
|
|
lll:
|
|
line-length: 150
|
|
revive:
|
|
enableAllRules: true
|
|
rules:
|
|
- name: exported
|
|
disabled: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
- ineffassign
|
|
- unparam
|
|
- errcheck
|
|
- govet
|
|
- bodyclose
|
|
- durationcheck
|
|
- errorlint
|
|
- exhaustive
|
|
- exportloopref
|
|
- gosec
|
|
- makezero
|
|
- staticcheck
|
|
- prealloc
|
|
- asciicheck
|
|
- dogsled
|
|
- dupl
|
|
- goconst
|
|
- gocritic
|
|
- godot
|
|
- err113
|
|
- goheader
|
|
- revive
|
|
- nakedret
|
|
- gomodguard
|
|
- goprintffuncname
|
|
- gosimple
|
|
- lll
|
|
- misspell
|
|
- nolintlint
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
- whitespace
|
|
- gocyclo
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: server/manifest.go
|
|
linters:
|
|
- unused
|
|
- path: server/configuration.go
|
|
linters:
|
|
- unused
|
|
- path: _test\.go
|
|
linters:
|
|
- bodyclose
|
|
- scopelint # https://github.com/kyoh86/scopelint/issues/4
|