项目作者: prontolabs

项目描述 :
Pronto runner that uses Aspell for spell checking
高级语言: Ruby
项目地址: git://github.com/prontolabs/pronto-spell.git
创建时间: 2013-12-17T19:32:49Z
项目社区:https://github.com/prontolabs/pronto-spell

开源协议:MIT License

下载


Pronto runner that uses Aspell for spell checking

Code Climate
Build Status
Gem Version

Pronto runner that uses Aspell for spell checking. What is Pronto?

Prerequisites

You’ll need to install Aspell:

  • Arch Linux: sudo pacman -S aspell
  • OS X: (brew install aspell --lang=en)

Configuration

In order to change configuration, you need to create .pronto_spell.yml file in your project root directory. Awailable options are:

  1. suggestion_mode: 'fast' # default
  2. language: 'en_US' # default
  3. min_word_length: 5 # default
  4. max_word_length: 999 # default is Infinity
  5. max_suggestions_number: 3 # default
  6. ignored_words: # words in this list won't be marked as misspelled
  7. - aspell
  8. - boolean
  9. - datetime
  10. only_lines_matching: # spell checker will run only if the diff contains a word in this list
  11. - context
  12. - describe

It’s also handy to have .pronto.yml. Here is configuration, designed for rails project:

  1. spell:
  2. exclude:
  3. - 'yarn.lock'
  4. - 'Gemfile.lock'
  5. - 'Gemfile'
  6. - 'package.json'
  7. - '.*.yml'
  8. - '*.json'