Skip to content

code quality enhancement: reduce sonar code smells#1

Open
tangyanhan wants to merge 2 commits intomasterfrom
code-enhancement
Open

code quality enhancement: reduce sonar code smells#1
tangyanhan wants to merge 2 commits intomasterfrom
code-enhancement

Conversation

@tangyanhan
Copy link
Copy Markdown
Contributor

No description provided.

)

func NewImportCommand() *cobra.Command {
// TODO: move it into a single package
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

📝 [sonarqube] <go:S1135> reported by reviewdog 🐶
Complete the task associated to this TODO comment.

"github.com/spf13/cobra"
)

func NewImportCommand() *cobra.Command {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

⚠️ [sonarqube] <external_golint:Exported> reported by reviewdog 🐶
exported function NewImportCommand should have comment or be unexported

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.

1 participant