1.0.0 • Published 10 years ago

grunt-spell v1.0.0

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

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",
                                                    "bis"
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:

grunt.loadNpmTasks('grunt-spell');

Documentation

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.

Contributing

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

License

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

1.0.0

10 years ago

0.2.1

12 years ago

0.2.0

13 years ago

0.1.1

13 years ago

0.1.0

13 years ago