diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-06-16 09:17:36 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-16 09:17:36 +0900 |
| commit | 7893cbb5232f9bbefbaa650998fce49f59908512 (patch) | |
| tree | aef9af3607c8d377d3aa999de2f1e72a3e0cfae9 | |
| parent | 2341e4f5e59bd69aef02a048176d3228cddc293f (diff) | |
| parent | f4d9a9beecfa51edae11077faa79430fb153f55f (diff) | |
| download | mruby-7893cbb5232f9bbefbaa650998fce49f59908512.tar.gz mruby-7893cbb5232f9bbefbaa650998fce49f59908512.zip | |
Merge pull request #5444 from jbampton/add-misspell-docs
Add documentation on spell checking with misspell
| -rw-r--r-- | CONTRIBUTING.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ebc9c2239..c49d8dd15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,6 +37,21 @@ To update use `pre-commit autoupdate` * [Usage](https://pre-commit.com/#usage) * [pre-commit-autoupdate](https://pre-commit.com/#pre-commit-autoupdate) +## Spell Checking + +We are running [misspell](https://github.com/client9/misspell) which is mainly written in Golang to check +spelling with [GitHub Actions](.github/workflows/lint.yml). Correct commonly misspelled English words quickly +with `misspell`. You can run `misspell` locally against all files with: + +```bash +find . -type f | xargs ./misspell -error +``` + +Notable `misspell` help options or flags are: + +* `-i` string: ignore the following corrections, comma separated +* `-w`: Overwrite file with corrections (default is just to display) + ## Coding conventions How to style your C and Ruby code which you want to submit. |
