Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into project-manager-atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
n0izn0iz committed May 27, 2024
2 parents f190423 + 8de4c31 commit 5c9d736
Show file tree
Hide file tree
Showing 158 changed files with 5,360 additions and 1,192 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 5c9d736

Please sign in to comment.