Skip to content

Commit

Permalink
Add retext-spell
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Aug 19, 2016
1 parent 6b02f2e commit 5185cd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"devDependencies": {
"async": "^1.5.2",
"dictionary-en-us": "^1.0.2",
"glob": "^7.0.5",
"ignore": "^3.1.3",
"js-yaml": "^3.6.1",
Expand All @@ -20,6 +21,7 @@
"retext-readability": "^2.0.0",
"retext-sentence-spacing": "^1.0.0",
"retext-simplify": "^2.0.0",
"retext-spell": "wooorm/retext-spell",
"to-vfile": "^1.0.0",
"unified": "^4.1.2",
"vfile-reporter": "^2.0.0"
Expand Down
3 changes: 3 additions & 0 deletions script/test-prose
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ var stringify = require('remark-stringify');
var english = require('retext-english');
var sentenceSpacing = require('retext-sentence-spacing');
var quotes = require('retext-quotes');
var spell = require('retext-spell');
var dictionary = require('dictionary-en-us');

// Util stuff
var report = require('vfile-reporter');
Expand Down Expand Up @@ -62,6 +64,7 @@ async.map(ignore.filter(glob.sync("**/*.md")), function(file, callback) {
.use(english)
.use(sentenceSpacing, {preferred: 1})
.use(quotes, {preferred: 'straight'})
.use(spell, dictionary)
// .use(require('retext-simplify'), options["simplify"])
// .use(require('retext-equality'))
// .use(require('retext-readability'), options["readability"])
Expand Down

0 comments on commit 5185cd5

Please sign in to comment.