tbroadley / spellchecker-cli

A command-line tool for spellchecking files.
MIT License
119 stars 16 forks source link

All plugins running even if told otherwise #80

Closed magnoliaceiling closed 2 years ago

magnoliaceiling commented 2 years ago

Might be making a really stupid error here, but anyway... If I specify only using two specific plugins when I run, retext-repeated-words still pops up and gives errors—but I don't want it to. I've set it to run with: node_modules/.bin/spellchecker --files '20*/*/*.md' -l 'en-GB' --plugins spell syntax-urls --no-suggestions -d dictionary.txt -q

Also tried putting the config into a spellcheckerrc.json/.spellcheckerrc.yml but get the same results. I saw that all plugins on by default was introduced by #6, but haven't seen anyone else have this issue.

tbroadley commented 2 years ago

Thanks for filing this issue! I'm able to reproduce this bug in a test. I'll put up a fix shortly.

tbroadley commented 2 years ago

Fixed in 4.8.1!