Skip to content

False positives in code blocks #52

Description

@egonelbre

This probably should be disabled for code blocks, e.g.:

package main

// Calculate does a computation.
//
//	x += b58[b[i]] * j
//	j *= 58
func Calculate() int {
	return 0
}

func main() {}

Reports:

$ main.go:6:1: Duplicate words (j) found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions