Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: support for config files #116

Open
blueyed opened this issue Sep 18, 2019 · 5 comments
Open

cli: support for config files #116

blueyed opened this issue Sep 18, 2019 · 5 comments

Comments

@blueyed
Copy link

blueyed commented Sep 18, 2019

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.

@RichardLitt
Copy link
Collaborator

I'm not unopposed. @btford?

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

Most likely. Not sure what, though.

@btford
Copy link
Owner

btford commented Sep 18, 2019

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.

@oalders
Copy link

oalders commented Jul 22, 2020

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.

@rudolf-adamkovic
Copy link

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.

@RichardLitt
Copy link
Collaborator

PRs accepted. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants