From 7c2e4fc5ebf8dace8f924ef54ac4fa7d78e0179e Mon Sep 17 00:00:00 2001 From: Erick Sasse <148989+esasse@users.noreply.github.com> Date: Fri, 15 Sep 2023 16:02:54 +0000 Subject: [PATCH] Remove misspell references --- guides/source/contributing_to_ruby_on_rails.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index 5c93c9deef9e8..041b264387bdd 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -305,21 +305,7 @@ For `rails-ujs` CoffeeScript and JavaScript files, you can run `npm run lint` in #### Spell Checking -We are running [misspell](https://github.com/client9/misspell) which is mainly written in -[Golang](https://golang.org/) to check spelling with [GitHub Actions](https://github.com/rails/rails/blob/main/.github/workflows/lint.yml). Correct -commonly misspelled English words quickly with `misspell`. `misspell` is different from most other spell checkers -because it doesn't use a custom dictionary. You can run `misspell` locally against all files with: - -```bash -$ find . -type f | xargs ./misspell -i 'aircrafts,devels,invertions' -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) - -We also run [codespell](https://github.com/codespell-project/codespell) with GitHub Actions to check spelling and +We run [codespell](https://github.com/codespell-project/codespell) with GitHub Actions to check spelling and [codespell](https://pypi.org/project/codespell/) runs against a [small custom dictionary](https://github.com/rails/rails/blob/main/codespell.txt). `codespell` is written in [Python](https://www.python.org/) and you can run it with: