proselint
proselint copied to clipboard
Ignored check names mismatched
I want to ignore leonard.exclamation.30ppm
, which I tried to do by following the configuration docs, setting up my config file with:
{
"checks": {
"leonard.exclamation.30ppm": false
}
}
But this does not work, the rule still appears:
$ proselint example.md
example.md:1:3: leonard.exclamation.30ppm More than 30 ppm of exclamations. Keep them under control.
After inspecting the code and seeing the rule lives in proselint.checks.typography.exclamation
, I tried:
{
"checks": {
"typography.exclamation": false
}
}
That does work:
$ proselint example.md
This seems like a bug since the config docs don't explain such a distinction.
It's also unfortunate that it seems you can only disable all the rules within a module - e.g. in this case I'd like to keep leonard.exclamation.multiple
active.