Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce https://github.com/reviewdog/action-staticcheck #573

Merged
merged 5 commits into from
May 10, 2020

Conversation

haya14busa
Copy link
Member

No description provided.

@@ -2,12 +2,9 @@ package testdata

import (
"errors"
"regexp"
)

func unused() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[staticcheck] reported by reviewdog 馃惗
func unused is unused U1000

)

func unused() {
regexp.Compile(".+")

if errors.New("abc") == errors.New("abc") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[staticcheck] reported by reviewdog 馃惗
empty branch SA9003

)

func unused() {
regexp.Compile(".+")

if errors.New("abc") == errors.New("abc") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[staticcheck] reported by reviewdog 馃惗
identical expressions on the left and right side of the '==' operator SA4000

@haya14busa haya14busa merged commit 88d5a24 into master May 10, 2020
@haya14busa haya14busa deleted the action-staticcheck branch May 10, 2020 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant