btford/write-good

cli: support for config files

blueyed opened this issue · 5 comments

It would be great if config files would be supported, e.g. to ignore/whitelist terms (#114, 685c0a2).

It would be useful if it supported an explicit config file via an argument, and otherwise look for a config starting from the linted file upwards, falling back to a global config in the user's home (preferably XDG-style, i.e. ~/.config/writegood/config).

I assume / hope there a good libraries for this already?

As for the format: it would be nice if this wasn't in JSON, so that it would allow for comments in it.

I'm not unopposed. @btford?

I assume / hope there a good libraries for this already?

Most likely. Not sure what, though.

I'm fine with this as long as it's not YAML. A JS file that exports some object seems fine.

I'e been using Dhall for this kind of thing, but I'm not too picky.

This would be really helpful. There are some things I'd like to disable on a per-project basis, but that's not so easy when using Ale.

FYI: This is a (surprising) show stopper. I want to use Vim + ALE + “write good” to check on my mathematical writing but I need to allow “if and only if” and other terms.

PRs accepted. :)