Closed ccoVeille closed 2 months ago
A new job step has been added to the GitHub Actions workflow configuration in .github/workflows/lint.yaml
. This step incorporates a spell-checking action, enhancing the continuous integration process by identifying typographical errors in the codebase. Additionally, a new configuration file .typos.toml
has been introduced to manage typo checks, specifying locales and excluded files.
Files | Change Summary |
---|---|
.github/workflows/lint.yaml | Added a new job step for spell-checking using crate-ci/typos@v1.24.5 . |
.typos.toml | Introduced a configuration file for managing typo checks, specifying locale and exclusions. |
documentation/src/components/HomepageFeatures/index.tsx | Corrected spelling from "Serialisation" to "Serialization". |
Objective | Addressed | Explanation |
---|---|---|
Add a CI for detecting typos (#188) | ✅ |
🐰 In the code where the typos may hide,
A spellchecker now stands by our side.
With each little word, we'll catch and correct,
Ensuring our code is polished and perfect!
Hooray for the changes, let errors take flight,
For a cleaner codebase, we now shine bright! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Any chance to incorporate this into the Makefile as well? If not no worries.
typos is a software to install, unfortunately it's not in go. I wouln't add something like cargo install typos-cli
or brew install typos-cli
I can add something about
But I would address this in another PR
This checker won't detect all typos, but will report the obvious ones.
It's a matter of balance. Too much typos, leads to false-positive. false-positive leads to maintain a list of exception, quite a pain.
Fixes #188
Summary by CodeRabbit