node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »


grunt-spell Build Status

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",
Spelling                  "rihgt"                   "right"
Make I uppercase          "i"                       "I"
Missing Word              "am cat"                  "am the cat", "am a cat"
------------------------  ------------------------  ------------------------

Getting Started

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

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



Specify files to spellcheck:

  spell: {
    files: ['docs/*']

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

  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.

Release History

  • 1.0.0 - Tag Grunt as peerDep >= 0.4.0
  • 0.2.1 - Simplify task.
  • 0.2.0 - Grunt v0.4 Support.
  • 0.1.1 - Refactored for tests, bug fixes when no typos or spelling suggestions.
  • 0.1.0 - Initial release


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