Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add asasalint to exmaple yml
  • Loading branch information
alingse committed Jul 15, 2022
commit 2164d05901cdb5a681dcc02b88fc9458779cdaf5
10 changes: 10 additions & 0 deletions .golangci.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ output:

# All available settings of specific linters.
linters-settings:
asasalint:
# Add FuncName to exclude for some bad case report.
exclude:
- Append
- Log
# if true, will disable the default exclude see https://github.com/alingse/asasalint/blob/main/asasalint.go#L15 like: Printf,Println,Errorf,Debugf ...
no_default_exclude: false
ignore_in_test: false
bidichk:
# The following configurations check for all mentioned invisible unicode runes.
# All runes are enabled by default.
Expand Down Expand Up @@ -1823,6 +1831,7 @@ linters:
# Enable specific linter
# https://golangci-lint.run/usage/linters/#enabled-by-default-linters
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
Expand Down Expand Up @@ -1922,6 +1931,7 @@ linters:
# Disable specific linter
# https://golangci-lint.run/usage/linters/#disabled-by-default-linters--e--enable
disable:
- asasalint
- asciicheck
- bidichk
- bodyclose
Expand Down