Skip to content

Commit da48ff2

Browse files
committed
chore(ci): add depguard config
Signed-off-by: Elad Leev <[email protected]>
1 parent 0863085 commit da48ff2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ linters-settings:
3939
lines: 300
4040
statements: 300
4141

42+
depguard:
43+
rules:
44+
main:
45+
deny:
46+
- pkg: "io/ioutil"
47+
desc: Use the "io" and "os" packages instead.
48+
4249
linters:
4350
disable-all: true
4451
enable:

0 commit comments

Comments
 (0)