misspell Plugin
Correct commonly misspelled English words in source files.
Commands
Check
misspell check run— Check files for misspellingsmisspell check fix— Fix misspellings in-place
Usage Examples
- "Check this directory for spelling mistakes"
- "Fix typos in all my source files"
- "Find spelling errors in the codebase"
Installation
go install github.com/client9/misspell/cmd/misspell@latest
Examples
# Check files
misspell .
# Fix in place
misspell -w .
# Check specific files
misspell src/*.go
# US vs UK spelling
misspell -locale US .