ci/style: add editorconfig and golangci config
This commit is contained in:
parent
6d6856b2a4
commit
67058cb58c
8
.editorconfig
Normal file
8
.editorconfig
Normal file
@ -0,0 +1,8 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
9
.golangci.yml
Normal file
9
.golangci.yml
Normal file
@ -0,0 +1,9 @@
|
||||
linters-settings:
|
||||
errcheck:
|
||||
exclude-functions:
|
||||
- (io.Writer).Write
|
||||
run:
|
||||
skip-files:
|
||||
- internal/php7/scanner.go # Generated
|
||||
- internal/php8/scanner.go # Generated
|
||||
tests: false
|
Loading…
Reference in New Issue
Block a user