forked from kubeflow/trainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yaml
More file actions
18 lines (16 loc) · 724 Bytes
/
Copy path.golangci.yaml
File metadata and controls
18 lines (16 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# golangci-lint configuration file
# see: https://golangci-lint.run/usage/configuration/
# Settings of specific linters
linters-settings:
gci:
sections:
- standard # Standard section: captures all standard packages.
- default # Default section: contains all imports that could not be matched to another section type.
- prefix(github.com/kubeflow/trainer) # Custom section: groups all imports with the specified Prefix.
- blank # Blank section: contains all blank imports. This section is not present unless explicitly enabled.
- dot # Dot section: contains all dot imports.
skip-generated: true # Skip generated files.
# Settings for enabling and disabling linters
linters:
enable:
- gci