Skip to content

Switch to typos#517

Merged
majewsky merged 2 commits intomasterfrom
typos
Apr 3, 2025
Merged

Switch to typos#517
majewsky merged 2 commits intomasterfrom
typos

Conversation

@SuperSandro2000
Copy link
Copy Markdown
Member

Misspell doesn't find that much typos. Typos is an alternative that finds more and generally has a low false positive rate.

I found two lala things in here: DELETEs and the rsa keys are not fully detected correctly but I think that doesn't outweigh the advantages.

Comment thread internal/test/setup_consts.go Dismissed
Comment thread internal/test/setup_consts.go Dismissed
Comment thread internal/test/setup_consts.go Dismissed
Comment thread internal/test/setup_consts.go Dismissed
Copy link
Copy Markdown
Contributor

@majewsky majewsky left a comment

Choose a reason for hiding this comment

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

I think I'm fine with this in general. Do we want to have the .typos.toml autogenerated? The contents look highly specific to this repo. Maybe we generate one on first setup with a link to the documentation and a default set of excludes (go.mod and vendor) and then leave it to the repo owner to maintain it from that point?

@SuperSandro2000
Copy link
Copy Markdown
Member Author

Without templating support? We can do that

@majewsky majewsky merged commit 8da6ea6 into master Apr 3, 2025
7 checks passed
@majewsky majewsky deleted the typos branch April 3, 2025 14:45
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.

3 participants