File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # The golangci-lint version used to build the custom binary.
2
+ # Require.
3
+ version : v1.56.2
4
+
5
+ # the name of the custom binary.
6
+ # Optional.
7
+ # Default: gcl-custom
8
+ name : custom-golangci-lint
9
+
10
+ # The directory path used to store the custom binary.
11
+ # Optional.
12
+ # Default: .
13
+ destination : ./my/path/
14
+
15
+ # The list of the plugins to integrate inside the custom binary.
16
+ plugins :
17
+ # a plugin from a Go proxy
18
+ - module : ' github.com/example/plugin3'
19
+ version : v1.2.3
20
+
21
+ # a plugin from a Go proxy (with a specific import path)
22
+ - module : ' github.com/example/plugin4'
23
+ import : ' github.com/example/plugin4/foo'
24
+ version : v1.0.0
25
+
26
+ # a plugin from local source (with absolute path)
27
+ - module : ' github.com/example/plugin2'
28
+ path : /my/local/path/plugin2
29
+
30
+ # a plugin from local source (with relative path)
31
+ - module : ' github.com/example/plugin1'
32
+ path : ./my/local/path/plugin1
33
+
34
+ # a plugin from local source (with absolute path and a specific import path)
35
+ - module : ' github.com/example/plugin2'
36
+ import : ' github.com/example/plugin4/foo'
37
+ path : /my/local/path/plugin2
You can’t perform that action at this time.
0 commit comments