Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
spell check for large projects
Ruby Shell Cucumber
Branch: master
Failed to load latest commit information.
bin
examples .aspelllintignore
features first attempt
hooks
lib
.cowlignore
.editorconfig
.excellent.yml
.gitignore
.rubocop.yml lili
.ruby-version use ruby 2.0
CONFIGURE.md
Gemfile
LICENSE.md first
README.md organize readme
Rakefile npm idioms
aspelllint.gemspec
defaults.reek lili
package.json
roodi.yml

README.md

aspelllint - spell check for large projects

Aspelllint searches your projects for spelling errors.

EXAMPLES

$ cat examples/nested/memo.md
# Announcing Casual Fribsday!

$ cat examples/toy-boats.txt
I like toy baots.

$ cat examples/toy-boats.txt | aspelllint
stdin:46:11 baots: boats, baits, bats, bots, bahts, boots, boat's, bait's, Bates, bat's, bates, beats, bits, bouts, Bootes, baht's, beauts, boot's, bets, bods, buts, blots, bad's, bards, bauds, bawds, beets, butts, beat's, bit's, bout's, beaut's, booty's, Batu's, bet's, bod's, Baotou's, bast's, blot's, Bert's, Burt's, bard's, baud's, bawd's, beet's, butt's

$ aspelllint examples/toy-boats.txt
examples/toy-boats.txt:46:11 baots: boats, baits, bats, bots, bahts, boots, boat's, bait's, Bates, bat's, bates, beats, bits, bouts, Bootes, baht's, beauts, boot's, bets, bods, buts, blots, bad's, bards, bauds, bawds, beets, butts, beat's, bit's, bout's, beaut's, booty's, Batu's, bet's, bod's, Baotou's, bast's, blot's, Bert's, Burt's, bard's, baud's, bawd's, beet's, butt's

$ aspelllint examples/
examples/nested/memo.md:18:20 Fribsday: FreeBSD, Frosty, Froissart, Frost, Freebased, Fireside, Freest, Frizzed, Robust, Forest, Fairest, Arabist, Forebode, Forebodes, Freebase, Foreboded, Fieriest, Furriest
examples/toy-boats.txt:46:11 baots: boats, baits, bats, bots, bahts, boots, boat's, bait's, Bates, bat's, bates, beats, bits, bouts, Bootes, baht's, beauts, boot's, bets, bods, buts, blots, bad's, bards, bauds, bawds, beets, butts, beat's, bit's, bout's, beaut's, booty's, Batu's, bet's, bod's, Baotou's, bast's, blot's, Bert's, Burt's, bard's, baud's, bawd's, beet's, butt's

$ aspelllint -i '*.md' examples/
examples/toy-boats.txt:46:11 baots: boats, baits, bats, bots, bahts, boots, boat's, bait's, Bates, bat's, bates, beats, bits, bouts, Bootes, baht's, beauts, boot's, bets, bods, buts, blots, bad's, bards, bauds, bawds, beets, butts, beat's, bit's, bout's, beaut's, booty's, Batu's, bet's, bod's, Baotou's, bast's, blot's, Bert's, Burt's, bard's, baud's, bawd's, beet's, butt's

$ aspelllint -i '*.md' -i '*.txt' examples/
$

$ aspell -x -c examples/toy-boats.txt
I like toy [baots].

1) boats                                          6) boots
2) baits                                          7) boat's
3) bats                                           8) bait's
4) bots                                           9) Bates
5) bahts                                          0) bat's
i) Ignore                                         I) Ignore all
r) Replace                                        R) Replace all
a) Add                                            l) Add Lower
b) Abort                                          x) Exit

? 1

$ cat examples/toy-boats.txt
I like toy boats.

$ aspelllint examples/toy-boats.txt
$

$ aspelllint -h
Usage: aspelllint [options] [<files>|-]
-i, --ignore pattern             Ignore file pattern (fnmatch)
-h, --help                       Print usage info
-v, --version                    Print version info

HOMEPAGE

https://github.com/mcandre/aspelllint

RUBYGEMS

https://rubygems.org/gems/aspelllint

ABOUT

aspelllint scans large projects for spelling errors, reporting any misspelled or unidentified words found.

aspelllint is a shell wrapper around the traditional GNU aspell backend, presenting a frontend similar to modern linters like Reek and JSHint.

  • Recursive file scanning, like jshint .
  • Optional ignore patterns, like .gitignore
  • Configuration via per-project and per-user dotfiles
  • Install via a standard programming language package manager

REQUIREMENTS

E.g., Mac users can brew install aspell.

INSTALL

Install via RubyGems:

$ gem install aspelllint

LICENSE

FreeBSD

DEVELOPMENT

Testing

Keep the interface working:

$ cucumber

Linting

Keep the code tidy:

$ rake lint

Git Hooks

See hooks/.

Something went wrong with that request. Please try again.