mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
GO-545 Fix linter
This commit is contained in:
parent
122048509d
commit
94c9d5b899
3 changed files with 180 additions and 57 deletions
|
@ -27,6 +27,19 @@ linters-settings:
|
|||
local-prefixes: github.com/anytypeio/go-anytype-middleware
|
||||
govet:
|
||||
check-shadowing: true
|
||||
funlen:
|
||||
lines: 120
|
||||
statements: 100
|
||||
lll:
|
||||
line-length: 120
|
||||
revive:
|
||||
rules:
|
||||
- name: var-naming
|
||||
severity: warning
|
||||
disabled: false
|
||||
arguments:
|
||||
- [ "ID" ] # AllowList
|
||||
- [ ] # DenyList
|
||||
|
||||
linters:
|
||||
disable-all: true
|
||||
|
@ -51,7 +64,7 @@ linters:
|
|||
- gosimple
|
||||
- govet
|
||||
- typecheck
|
||||
- stylecheck
|
||||
# - stylecheck
|
||||
- unconvert
|
||||
|
||||
max-issues-per-linter: 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue