go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/casviewer/.golangci.yaml (about)

     1  # This file is autogenerated! Do not modify manually.
     2  # Generated by regen_golangci_config.py based on golangci/project.yaml template.
     3  
     4  # ref: https://golangci-lint.run/usage/configuration/#config-file
     5  
     6  linters:
     7    enable:
     8      - errorlint
     9      - gci
    10      - stylecheck
    11  
    12  issues:
    13    # Independently from option `exclude` we use default exclude patterns,
    14    # it can be disabled by this option. To list all
    15    # excluded by default patterns execute `golangci-lint run --help`.
    16    # Default value for this option is true.
    17    exclude-use-default: false
    18  
    19    # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
    20    max-issues-per-linter: 0
    21  
    22    # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
    23    max-same-issues: 0
    24  
    25  linters-settings:
    26    # https://golangci-lint.run/usage/linters/#gci
    27    gci:
    28      # Reorder import sections based on how they are ordered in `sections`.
    29      custom-order: true
    30      sections:
    31        # All standard packages.
    32        - standard
    33        # All packages that didn't fit other categories, usually third party.
    34        - default
    35        # All other luci-go imports.
    36        - prefix(go.chromium.org/luci)
    37        # Imports from the local package tree.
    38        - prefix(go.chromium.org/luci/casviewer)
    39        # All blank (import "_" ...) imports.
    40        - blank
    41        # All dot (import ".' ...") imports.
    42        - dot