retextjs / retext-readability

plugin to check readability
https://unifiedjs.com
MIT License
94 stars 8 forks source link

Add actual and expected to message #8

Closed nodatall closed 7 years ago

wooorm commented 7 years ago

If the suggestion is to remove it, shouldn’t expected be [] instead of a magic string?

(thinking here about potentially automatic fixing based on actual / expected)

wooorm commented 7 years ago

I went with expected: null, I think that better reflects that something else is expected, but that this plugin does not know what it should be.