github.com/HaHadaxigua/yaegi@v1.0.1/.golangci.toml (about)

     1  [run]
     2    deadline = "5m"
     3    skip-files = []
     4  
     5  [linters-settings]
     6  
     7    [linters-settings.govet]
     8      check-shadowing = false
     9  
    10    [linters-settings.gocyclo]
    11      min-complexity = 12.0
    12  
    13    [linters-settings.maligned]
    14      suggest-new = true
    15  
    16    [linters-settings.goconst]
    17      min-len = 3.0
    18      min-occurrences = 3.0
    19  
    20    [linters-settings.misspell]
    21      locale = "US"
    22  
    23  [linters]
    24    enable-all = true
    25    disable = [
    26      "golint", # deprecated
    27      "scopelint", # deprecated
    28      "interfacer", # deprecated
    29      "maligned", # deprecated
    30      "lll",
    31      "gas",
    32      "dupl",
    33      "prealloc",
    34      "gocyclo",
    35      "cyclop",
    36      "gochecknoinits",
    37      "gochecknoglobals",
    38      "wsl",
    39      "nlreturn",
    40      "godox",
    41      "funlen",
    42      "gocognit",
    43      "stylecheck",
    44      "gomnd",
    45      "testpackage",
    46      "paralleltest",
    47      "tparallel",
    48      "goerr113",
    49      "wrapcheck",
    50      "nestif",
    51      "exhaustive",
    52      "exhaustivestruct",
    53      "forbidigo",
    54      "ifshort",
    55      "forcetypeassert",
    56      "errorlint", # TODO: must be reactivate before fixes
    57    ]
    58  
    59  [issues]
    60    exclude-use-default = false
    61    max-per-linter = 0
    62    max-same-issues = 0
    63    exclude = []
    64  
    65    [[issues.exclude-rules]]
    66      path = ".+_test\\.go"
    67      linters = ["goconst"]
    68    [[issues.exclude-rules]]
    69      path = ".+_test\\.go"
    70      text = "var-declaration:"
    71  
    72    [[issues.exclude-rules]]
    73      path = "interp/interp.go"
    74      text = "`in` can be `io.Reader`"
    75    [[issues.exclude-rules]]
    76      path = "interp/interp.go"
    77      text = "`out` can be `io.Writer`"
    78    [[issues.exclude-rules]]
    79      path = "interp/interp.go"
    80      text = "`Panic` should conform to the `XxxError` format"
    81    [[issues.exclude-rules]]
    82      path = "interp/interp_eval_test.go"
    83      linters = ["thelper"]