Skip to content

disable spell check for go package names #3568

Open
@pseidemann

Description

@pseidemann

dear devs,

according to the official go package name conventions, go package names are often compressed/abbreviated and thus are by definition not real words.

I would like to request to include an option to disable spell checking of go package names altogether.
wrong spelling hints for packages can be very annoying because the package name precedes any const/variable/function/type used of a package (importing packages directly without the namespace is possible but discouraged in go).

here are some examples of standard library go packages which have wrong spelling according to the extension today:

  • hash/maphash
  • net/netip
  • testing/fstest
  • time/tzdata

from: https://pkg.go.dev/std

as can be seen, they don't try to be real words but are still readable to a developer knowing the (go) context.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions