2019-06-19 23:58:56 +02:00
|
|
|
# This file contains all available configuration options
|
|
|
|
# with their default values.
|
|
|
|
|
|
|
|
# options for analysis running
|
|
|
|
run:
|
|
|
|
# which dirs to skip: they won't be analyzed;
|
|
|
|
# can use regexp here: generated.*, regexp is applied on full path;
|
|
|
|
# default value is empty list, but next dirs are always skipped independently
|
|
|
|
# from this option's value:
|
|
|
|
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
|
|
|
|
skip-dirs:
|
|
|
|
- pkg/parser/fql
|
|
|
|
- pkg/parser/antlr
|
2019-10-15 08:11:15 +02:00
|
|
|
- examples
|
2019-06-19 23:58:56 +02:00
|
|
|
|
|
|
|
linters:
|
|
|
|
disable:
|
|
|
|
- errcheck
|
|
|
|
|
|
|
|
issues:
|
|
|
|
# List of regexps of issue texts to exclude, empty list by default.
|
|
|
|
# But independently from this option we use default exclude patterns,
|
|
|
|
# it can be disabled by `exclude-use-default: false`. To list all
|
|
|
|
# excluded by default patterns execute `golangci-lint run --help`
|
|
|
|
exclude:
|
|
|
|
- '^(G104|G401|G505|G501):'
|
|
|
|
- '^shadow: declaration of'
|
|
|
|
|
|
|
|
# which files to skip: they will be analyzed, but issues from them
|
|
|
|
# won't be reported. Default value is empty list, but there is
|
|
|
|
# no need to include all autogenerated files, we confidently recognize
|
|
|
|
# autogenerated files. If it's not please let us know.
|
|
|
|
skip-files:
|
2019-10-14 23:56:08 +02:00
|
|
|
- "*_test.go"
|