-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(ruleset)!: improve match code efficiency and properly handle status #1255
base: main
Are you sure you want to change the base?
Changes from all commits
2cb6f52
fc8d0a5
e7a7ac5
93cce3f
e61458c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,8 @@ | |
// New returns a Registry implementation that integrates | ||
// with GitHub or a GitHub Enterprise instance. | ||
// | ||
//nolint:revive // ignore returning unexported client | ||
|
||
func New(ctx context.Context, address, token string) (*client, error) { | ||
Check failure on line 34 in compiler/registry/github/github.go
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [golangci] reported by reviewdog 🐶 |
||
// create the client object | ||
c := &client{ | ||
URL: defaultURL, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
unexported-return: exported func FromCLIContext returns unexported type *native.client, which can be annoying to use (revive)