Heckler is a tool to identify wording or spelling mistakes in ruby codebase: filenames, class names, method names, property names and more. Spelling correction is powered by GNU Aspell and originally started as a ruby port of Peck.
bundle add heckler
If bundler is not being used to manage dependencies, install the gem by executing:
gem install heckler
Heckler requires Aspell to be present on a system to function.
brew install aspell
- Debian/Ubuntu:
sudo apt-get install aspell aspell-en
- Fedora:
sudo dnf install aspell aspell-en
- Arch Linux:
sudo pacman -S aspell aspell-en
- openSUSE:
sudo zypper install aspell aspell-en
- Alpine:
sudo apk add aspell aspell-en
Start off by creating a configuration file, by running:
heckler init
Run spelling check with heckler
Bug reports and pull requests are welcome on GitHub at https://github.com/skatkov/heckler.
The gem is available as open source under the terms of the MIT License.