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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: convert-to-default-checksum-parser #380

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

suzuki-shunsuke
Copy link
Member

No description provided.

return nil
}

func convert(filePath string) error { //nolint:cyclop
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
Function 'convert' is too long (64 > 60)

// return true, nil
// }

func removeFromChecksumParent(parentNode *ast.MappingNode) (bool, error) {
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
removeFromChecksumParent - result 1 (error) is always nil

// return removeFromChecksum(node)
// }

func getMappingValueNode(mappingNode *ast.MappingNode, key string) *ast.MappingValueNode {
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
func getMappingValueNode is unused

return false, nil
}

func convChecksumParserOfVersionOverrides(pkgInfoNode *ast.MappingNode, pkgInfo *registry.PackageInfo) (bool, error) {
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
func convChecksumParserOfVersionOverrides is unused

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