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

     1  # This file defines directories that should have .golangci.yaml in them.
     2  #
     3  # See scripts/regen_golangci_config.py for the format of this file and for
     4  # details of how it is parsed. Basically it is a list of sections. Each section
     5  # defines a template to use for generating .golangci.yaml and a list of
     6  # directory paths. regen_golangci_config.py script will use the template name to
     7  # figure out how to generate .golangci.yaml and place each such generated file
     8  # into every given path.
     9  #
    10  # Each directory in the repository that contains *.go files should be covered
    11  # by exactly one generated .golangci.yaml. Otherwise `golangci-lint` may get
    12  # confused and use a wrong config. The script will check that.
    13  #
    14  # See also:
    15  #   https://github.com/golangci/golangci-lint/issues/2689
    16  #   https://github.com/golangci/golangci-lint/issues/828
    17  
    18  # Miscellaneous packages that contain collections of unrelated things. Their
    19  # local imports are not grouped together (since it makes little sense to group
    20  # unrelated things together).
    21  [libraries]
    22  template = library.yaml
    23  paths =
    24      appengine
    25      auth
    26      client
    27      common
    28      examples
    29      hardcoded
    30      lucictx
    31      starlark
    32      third_party
    33      tools
    34      web
    35  
    36  
    37  # Packages that are roots of projects. Local imports from such projects are
    38  # groups together.
    39  [projects]
    40  template = project.yaml
    41  paths =
    42      analysis
    43      auth_service
    44      bisection
    45      buildbucket
    46      casviewer
    47      cipd
    48      cipkg
    49      config
    50      config_service
    51      cv
    52      deploy
    53      gae
    54      gce
    55      grpc
    56      led
    57      logdog
    58      luci_notify
    59      lucicfg
    60      luciexe
    61      mailer
    62      milo
    63      mmutex
    64      provenance
    65      resultdb
    66      scheduler
    67      server
    68      standalone
    69      swarming
    70      teams
    71      tokenserver
    72      tree_status
    73      vpython