You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Misspell not detecting strings inside single quotes
In this case, misspell not detecting 'Unkonwn'
Input test.go:
// comment with incorrect spelling: occured// comment with incorrect spelling: langauge// comment with incorrect spelling: somethng// comment with incorrect spelling: Unkown// comment with incorrect spelling: 'Unkonwn'// comment with incorrect spelling: Unkonwn
Output:
query/mkpl_inventory_bidding_entity_builder.go:66:38: `occured` is a misspelling of `occurred` (misspell)
// comment with incorrect spelling: occured
query/mkpl_inventory_bidding_entity_builder.go:67:38: `langauge` is a misspelling of `language` (misspell)
// comment with incorrect spelling: langauge
query/mkpl_inventory_bidding_entity_builder.go:69:38: `Unkown` is a misspelling of `Unknown` (misspell)
// comment with incorrect spelling: Unkown
query/mkpl_inventory_bidding_entity_builder.go:71:38: `Unkonwn` is a misspelling of `Unknown` (misspell)
// comment with incorrect spelling: Unkonwn
Version of golangci-lint
V1.53.2
Configuration file
not exist
Go environment
go version go1.20.5 darwin/amd64
Verbose output of running
query/test.go:66:38: `occured` is a misspelling of `occurred` (misspell)
// comment with incorrect spelling: occured
query/test.go:67:38: `langauge` is a misspelling of `language` (misspell)
// comment with incorrect spelling: langauge
query/test.go:69:38: `Unkown` is a misspelling of `Unknown` (misspell)
// comment with incorrect spelling: Unkown
query/test.go:71:38: `Unkonwn` is a misspelling of `Unknown` (misspell)
// comment with incorrect spelling: Unkonwn
Code example or link to a public repository
// comment with incorrect spelling: occured// comment with incorrect spelling: langauge// comment with incorrect spelling: somethng// comment with incorrect spelling: Unkown// comment with incorrect spelling: 'Unkonwn'// comment with incorrect spelling: Unkonwn
The text was updated successfully, but these errors were encountered:
Welcome
Description of the problem
Issue: Misspell not detecting strings inside single quotes
In this case, misspell not detecting 'Unkonwn'
Input test.go:
Output:
Version of golangci-lint
V1.53.2
Configuration file
not exist
Go environment
go version go1.20.5 darwin/amd64
Verbose output of running
Code example or link to a public repository
The text was updated successfully, but these errors were encountered: