github.com/koko1123/flow-go-1@v0.29.6/.golangci.yml (about)

     1  run:
     2    timeout: 10m
     3  
     4  linters-settings:
     5    goimports:
     6      # put imports beginning with prefix after 3rd-party packages;
     7      # it's a comma-separated list of prefixes
     8      local-prefixes: github.com/onflow/flow-go
     9  
    10    gosec:
    11      # To select a subset of rules to run.
    12      # Available rules: https://github.com/securego/gosec#available-rules
    13      includes:
    14        - G401
    15        - G402
    16        - G501
    17        - G502
    18        - G503
    19        - G505
    20  
    21  linters:
    22    enable:
    23      - goimports
    24      - gosec
    25  
    26  issues:
    27    exclude-rules:
    28      - path: _test\.go # disable some linters on test files
    29        linters:
    30          - unused
    31      # typecheck currently not handling the way we do function inheritance well
    32      # disabling for now
    33      - path: 'cmd/access/node_build/*' 
    34        linters:
    35          - typecheck