mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
limit linters to only specified
This commit is contained in:
parent
113c6bc21a
commit
36fa27e2a2
1 changed files with 8 additions and 1 deletions
|
|
@ -1,11 +1,18 @@
|
|||
run:
|
||||
#skip the protobuf generated files
|
||||
timeout: 3m
|
||||
skip-dirs-use-default: true
|
||||
skip-dirs:
|
||||
- pb
|
||||
- proto
|
||||
skip-files:
|
||||
- pql/pql.peg.go
|
||||
linters:
|
||||
enable:
|
||||
- govet
|
||||
- gofmt
|
||||
enable-all: false
|
||||
disable-all: true
|
||||
linters-settings:
|
||||
gofmt:
|
||||
simplify: true
|
||||
|
|
@ -34,9 +41,9 @@ linters-settings:
|
|||
|
||||
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
max-per-linter: 0
|
||||
max-same: 0
|
||||
exclude-use-default: false
|
||||
exclude:
|
||||
- 'declaration of "(err|ctx)" shadows declaration at'
|
||||
- 'typecheck'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue