github.com/MontFerret/ferret@v0.18.0/.golangci.yml (about)

     1  # This file contains all available configuration options
     2  # with their default values.
     3  
     4  # options for analysis running
     5  run:
     6    # which dirs to skip: they won't be analyzed;
     7    # can use regexp here: generated.*, regexp is applied on full path;
     8    # default value is empty list, but next dirs are always skipped independently
     9    # from this option's value:
    10    #   	vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
    11    skip-dirs:
    12      - pkg/parser/fql
    13      - pkg/parser/antlr
    14      - examples
    15  
    16  linters:
    17    disable:
    18      - errcheck
    19  
    20  issues:
    21    # List of regexps of issue texts to exclude, empty list by default.
    22    # But independently from this option we use default exclude patterns,
    23    # it can be disabled by `exclude-use-default: false`. To list all
    24    # excluded by default patterns execute `golangci-lint run --help`
    25    exclude:
    26      - '^(G104|G401|G505|G501):'
    27      - '^shadow: declaration of'
    28  
    29    # which files to skip: they will be analyzed, but issues from them
    30    # won't be reported. Default value is empty list, but there is
    31    # no need to include all autogenerated files, we confidently recognize
    32    # autogenerated files. If it's not please let us know.
    33    skip-files:
    34      - "*_test.go"