A gulp plugin for spell-checking with GNU Aspell.
First of all you have to make sure that you have GNU Aspell installed:
$ # Debian-based
$ sudo apt-get install aspell
If aspell
is available install gulp-spellcheck
as a development dependency in your project.
npm install --save-dev gulp-spellcheck
Then, add it to your gulpfile.js
:
var spellcheck = require('gulp-spellcheck');
gulp.task('spellcheck', function () {
gulp.src('./dododo/**/*.md')
.pipe(spellcheck())
.pipe(gulp.dest('./spellchecked/'));
});
Type: String
Default: undefined
ISO 639 or ISO 3166 language code (e.g. de). Please make sure that you have the respective aspell language pack installed (e.g. sudo apt-get install aspell-de
).
Type: String
Default: '%s (suggestions: %s)'
The string that will replace the wrong word whereas the first placeholder is the wrong word and the second placeholder a list of suggestions.
- Ignore list
- Added functionality for disabling 'pipe mode'.
- Fixed vinyl file access.
- Initial Release.
Copyright 2014, André König ([email protected])