Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Ignore misspellings in variable names if correction contains a colon #151

Open

Description

@leonklingele

I ran this tool against the Go source:

cmd/compile/internal/ssa/compile.go:278:1:warning: "alltime" is a misspelling of "all-time" (misspell)
cmd/compile/internal/ssa/compile.go:283:3:warning: "alltime" is a misspelling of "all-time" (misspell)
cmd/compile/internal/ssa/compile.go:337:12:warning: "alltime" is a misspelling of "all-time" (misspell)

alltime in this case is a variable and as variables are not allowed to contain colons, this warning should not be issued.

Are there any other cases when the correction is not applicable?

Activity

  1. mwat56 commented on Aug 12, 2019

    @mwat56

    @leonklingele

    alltime in this case is a variable and as variables are not allowed to contain colons, this warning should not be issued.

    Use CamelCase instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions