Skip to content

Commit

Permalink
Merge branch 'master' into feat/add-more-metadata-in-gnoevent
Browse files Browse the repository at this point in the history
  • Loading branch information
notJoon authored May 30, 2024
2 parents 789f1fb + 98bd124 commit 5aecf52
Show file tree
Hide file tree
Showing 198 changed files with 7,543 additions and 1,688 deletions.
5 changes: 5 additions & 0 deletions .github/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ linters:
- gofumpt # Stricter gofmt
- unused # Checks Go code for unused constants, variables, functions and types
- gomodguard # Enforces an allow and block list for direct Go module dependencies
- forbidigo # Forbids some custom-set identifiers, like regexp.MatchString

linters-settings:
gofmt:
Expand All @@ -60,6 +61,10 @@ linters-settings:
- opinionated
- performance
- style
forbidigo:
forbid:
- p: '^regexp\.(Match|MatchString)$'
msg: it will re-compile the regexp for each execution; compile the regexp with regexp.Compile and store it as a singleton

issues:
whole-files: true
Expand Down
Loading

0 comments on commit 5aecf52

Please sign in to comment.