Adding upstream version 2.6.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4d8cd0ce4c
commit
2b08a89310
39 changed files with 2140 additions and 0 deletions
40
.golangci.yml
Normal file
40
.golangci.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
linters-settings:
|
||||
depguard:
|
||||
rules:
|
||||
main:
|
||||
files:
|
||||
- "!**/internal/**/*.go"
|
||||
- "!$test"
|
||||
allow:
|
||||
- $gostd
|
||||
- "github.com/editorconfig/editorconfig-core-go/v2"
|
||||
- "github.com/hashicorp/go-multierror"
|
||||
- "golang.org/x/mod/semver"
|
||||
- "gopkg.in/ini.v1"
|
||||
deny: []
|
||||
internal:
|
||||
files:
|
||||
- "**/internal/**/*.go"
|
||||
- "!$test"
|
||||
allow:
|
||||
- $gostd
|
||||
- "github.com/google/go-cmp"
|
||||
gci:
|
||||
sections:
|
||||
- standard
|
||||
- default
|
||||
- prefix(github.com/editorconfig/editorconfig-core-go)
|
||||
cyclop:
|
||||
max-complexity: 15
|
||||
package-average: 10
|
||||
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- exhaustruct
|
||||
- mnd
|
||||
- tagliatelle
|
||||
- tenv
|
||||
- typecheck
|
||||
- varnamelen
|
||||
fast: false
|
Loading…
Add table
Add a link
Reference in a new issue