Skip to content

Commit fa4d2e0

Browse files
committed
fixed: moved config to external file
1 parent 4f5ed30 commit fa4d2e0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/testdata/configs/ireturn.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
linters-settings:
2+
ireturn:
3+
allow:
4+
- IreturnAllowDoer

test/testdata/ireturn_allow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// args: -Eireturn
2-
// config: linters-settings.ireturn.allow=["IreturnAllowDoer"]
2+
// config_path: testdata/configs/ireturn.yml
33
package testdata
44

55
type (

0 commit comments

Comments
 (0)