Skip to content

Commit 06166ed

Browse files
committed
docs: add mygcl configuration file
1 parent 0717bf6 commit 06166ed

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.mygcl.reference.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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

0 commit comments

Comments
 (0)