Skip to content

Commit 2d02f03

Browse files
committed
add asasalint to exmaple yml
1 parent eb910ef commit 2d02f03

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.golangci.reference.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ output:
107107

108108
# All available settings of specific linters.
109109
linters-settings:
110+
asasalint:
111+
# Add FuncName to exclude for some bad case report.
112+
exclude:
113+
- Append
114+
- Log
115+
# if true, will disable the default exclude see https://github.com/alingse/asasalint/blob/main/asasalint.go#L15 like: Printf,Println,Errorf,Debugf ...
116+
no_default_exclude: false
117+
ignore_in_test: false
110118
bidichk:
111119
# The following configurations check for all mentioned invisible unicode runes.
112120
# All runes are enabled by default.
@@ -1832,6 +1840,7 @@ linters:
18321840
# Enable specific linter
18331841
# https://golangci-lint.run/usage/linters/#enabled-by-default-linters
18341842
enable:
1843+
- asasalint
18351844
- asciicheck
18361845
- bidichk
18371846
- bodyclose
@@ -1931,6 +1940,7 @@ linters:
19311940
# Disable specific linter
19321941
# https://golangci-lint.run/usage/linters/#disabled-by-default-linters--e--enable
19331942
disable:
1943+
- asasalint
19341944
- asciicheck
19351945
- bidichk
19361946
- bodyclose

0 commit comments

Comments
 (0)