github.com/neohugo/neohugo@v0.123.8/.golangci.yml (about)

     1  # This file contains all available configuration options
     2  # with their default values.
     3  
     4  # which dirs to skip: issues from them won't be reported;
     5  # can use regexp here: generated.*, regexp is applied on full path;
     6  # default value is empty list, but default dirs are skipped independently
     7  # from this option's value (see skip-dirs-use-default).
     8  # "/" will be replaced by current OS file path separator to properly work
     9  # on Windows.
    10  issues:
    11    exclude-dirs:
    12    - tpl/internal/go_templates
    13  
    14  # options for analysis running
    15  run:
    16    # timeout for analysis, e.g. 30s, 5m, default is 1m
    17    timeout: 5m
    18  
    19    # exit code when at least one issue was found, default is 1
    20    issues-exit-code: 1
    21  
    22    # include test files or not, default is true
    23    tests: true
    24  
    25    # default is true. Enables skipping of directories:
    26    #   vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
    27    skip-dirs-use-default: true
    28  
    29  # output configuration options
    30  output:
    31    # colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
    32    formats: colored-line-number
    33  
    34    # print lines of code with issue, default is true
    35    print-issued-lines: true
    36  
    37    # print linter name in the end of issue text, default is true
    38    print-linter-name: true
    39  
    40    # make issues output unique by line, default is true
    41    uniq-by-line: true
    42  
    43    # add a prefix to the output file references; default is no prefix
    44    path-prefix: ""
    45  
    46    # sorts results by: filepath, line and column
    47    sort-results: true