1
0
Fork 0
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:
Sergey 2022-12-09 15:51:59 +05:00
parent 122048509d
commit 94c9d5b899
No known key found for this signature in database
GPG key ID: 2B848483FF11C82C
3 changed files with 180 additions and 57 deletions

View file

@ -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