github.com/secoba/wails/v2@v2.6.4/.golangci.yml (about)

     1  # Options for analysis runner.
     2  run:
     3    # Custom concurrency value
     4    concurrency: 4
     5  
     6    # Execution timeout
     7    timeout: 10m
     8  
     9    # Exit code when an issue is found.
    10    issues-exit-code: 1
    11  
    12    # Inclusion of test files
    13    tests: false
    14  
    15    modules-download-mode: readonly
    16  
    17    allow-parallel-runners: false
    18  
    19    go: '1.21'
    20  
    21  
    22  output:
    23    # Runner output format
    24    format: tab
    25  
    26    # Print line of issue code
    27    print-issued-lines: false
    28  
    29    # Append linter to the output
    30    print-linter-name: true
    31  
    32    # Separate issues by line
    33    uniq-by-line: true
    34  
    35    # Output path prefixing
    36    path-prefix: ""
    37  
    38    # Sort results
    39    sort-results: true
    40  
    41  
    42  # Specific linter configs
    43  linters-settings:
    44    errcheck:
    45      check-type-assertions: false
    46      check-blank: false
    47      ignore: fmt:.*
    48      disable-default-exclusions: false
    49  
    50    gofmt:
    51      simplify: true
    52  
    53    gofumpt:
    54      extra-rules: false
    55  
    56  linters:
    57    fast: false
    58    # Enable all available linters.
    59    enable-all: true
    60    # Disable specific linters
    61    disable:
    62      - asasalint
    63      - asciicheck
    64      - bidichk
    65      - bodyclose
    66      - containedctx
    67      - contextcheck
    68      - cyclop
    69      - deadcode
    70      - decorder
    71      - depguard
    72      - dogsled
    73      - dupl
    74      - dupword
    75      - durationcheck
    76      - errchkjson
    77      - errorlint
    78      - execinquery
    79      - exhaustive
    80      - exhaustivestruct
    81      - exhaustruct
    82      - exportloopref
    83      - forbidigo
    84      - forcetypeassert
    85      - funlen
    86      - gci
    87      - ginkgolinter
    88      - gocheckcompilerdirectives
    89      - gochecknoglobals
    90      - gochecknoinits
    91      - gocognit
    92      - goconst
    93      - gocritic
    94      - gocyclo
    95      - godot
    96      - godox
    97      - goerr113
    98      - goheader
    99      - goimports
   100      - golint
   101      - gomnd
   102      - gomoddirectives
   103      - gomodguard
   104      - goprintffuncname
   105      - gosec
   106      - gosmopolitan
   107      - govet
   108      - grouper
   109      - ifshort
   110      - importas
   111      - ineffassign
   112      - interfacebloat
   113      - interfacer
   114      - ireturn
   115      - lll
   116      - loggercheck
   117      - maintidx
   118      - makezero
   119      - maligned
   120      - mirror
   121      - musttag
   122      - nakedret
   123      - nestif
   124      - nilerr
   125      - nilnil
   126      - nlreturn
   127      - noctx
   128      - nolintlint
   129      - nonamedreturns
   130      - nosnakecase
   131      - nosprintfhostport
   132      - paralleltest
   133      - prealloc
   134      - predeclared
   135      - promlinter
   136      - reassign
   137      - revive
   138      - rowserrcheck
   139      - scopelint
   140      - sqlclosecheck
   141      - staticcheck
   142      - structcheck
   143      - stylecheck
   144      - tagalign
   145      - tagliatelle
   146      - tenv
   147      - testableexamples
   148      - testpackage
   149      - thelper
   150      - tparallel
   151      - typecheck
   152      - unconvert
   153      - unparam
   154      - unused
   155      - usestdlibvars
   156      - varcheck
   157      - varnamelen
   158      - wastedassign
   159      - whitespace
   160      - wrapcheck
   161      - wsl
   162      - zerologlint