amperser / proselint

A linter for prose.
http://proselint.com
BSD 3-Clause "New" or "Revised" License
4.31k stars 177 forks source link

set check "typography.symbols.curly_quotes": false not working #1367

Open cxwx opened 2 months ago

cxwx commented 2 months ago

I've set ~/.config/proselint/config.json

{
  "checks": {
    "__typography.diacritical_marks": false,
    "typography.symbols.curly_quotes": false
  }
}

but still

p2.html:3:37: typography.symbols.curly_quotes Use curly quotes “”, not straight quotes "". Found 10 times elsewhere
Nytelife26 commented 2 months ago

Upon further investigation, it appears that this is a result of the way the configuration system presently works. Currently, it is not possible to disable individual checks within a module, only the module itself - therefore, you cannot disable typography.symbols.curly_quotes itself, but you can disable typography.symbols. This will be resolved with configuration refactoring.