grunt-spell

A Grunt plugin for spellchecking

grunt-spell

A Grunt plugin for spellchecking.

Running "spell:all" (spell) task
>> Checking test/test.txt...
Type                      Error                     Suggestions               
------------------------  ------------------------  ------------------------  
Spelling                  "Thsi"                    "Thai"                    
Spelling                  "wrogn"                   "wrong"                   
Spelling                  "reallly"                 "really"                  
Spelling                  "ibs"                     "is", "its", "ins", "ib", 
                                                    "bis"                     
Spelling                  "rihgt"                   "right"                   
Make I uppercase          "i"                       "I"                       
Missing Word              "am cat"                  "am the cat", "am a cat"  
------------------------  ------------------------  ------------------------ 

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-spell

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-spell');

Specify files to spellcheck:

grunt.initConfig({
  spell: {
    files: ['docs/*']
  }
});

Or specify a language (en, fr, de, pt, es) and/or rules to ignore (cliches, double negatives, passive voice, etc).

grunt.initConfig({
  spell: {
    all: {
      src: ['docs/*'],
      options: {
        lang: 'es',
        ignore: ['cliches', 'double negatives']
      }
    }
  }
});

Wrapper for npm teacher which uses the After The Deadline API.

In lieu of a formal styleguide, take care to maintain the existing coding style. Lint and test your code using grunt.

  • 0.1.0 - Initial release

Copyright (c) 2012 Kyle Robinson Young
Licensed under the MIT license.