Skip to content

Commit

Permalink
*: enable predeclared
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Jul 2, 2022
1 parent c36d0a1 commit 4c9af10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/linter/asciicheck/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ package asciicheck

import "github.com/tdakkota/asciicheck"

// Analyzer is the analyzer struct of durationcheck.
// Analyzer is the analyzer struct of asciicheck.
var Analyzer = asciicheck.NewAnalyzer()
6 changes: 6 additions & 0 deletions build/nogo_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"asciicheck": {
"exclude_files": {
"/external/": "no need to vet third party code",
".*_generated\\.go$": "ignore generated code"
}
},
"asmdecl": {
"exclude_files": {
"/external/": "no need to vet third party code",
Expand Down

0 comments on commit 4c9af10

Please sign in to comment.