Allow specifying color= in shellcheckrc (closes #2350)#2352
Allow specifying color= in shellcheckrc (closes #2350)#2352oliv3r wants to merge 1 commit intokoalaman:masterfrom
Conversation
|
It's not entirely straight forward because For example, you can do and then The |
|
Alternatively, making sure auto 'always' works is an option :p but in seriousness, I do like having options stored in a per-repo level. I think it should just traverse in the tree though, right? so global, trumps user, trumps root, trumps folder setting. So if you have it in your local rc, but not anywhere in the repo; you get it. I suppose one could argue on the directory vs root level; it could be that 'note, some settings, regardless where they are set, are applied to the repo as a whole, when asking shellcheck to auto-scan for files, if this is undesiresd invoke shellcheck on a 'per file' basis' and there, it should favor local settings over root settings? |
cf26262 to
ba5c415
Compare
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
|
IMHO, this really belongs in an environment variable ( |
50074dc to
eac8eff
Compare
To be able to set the color option in the config file (detection in GitLab CI fails for example) is useful when using template shellcheck containers for one. Secondly, storing config in the repo is also a thing :)
Sadly, I got a bit overconfident and got lost very quickly. I never seen haskell before so there's a learning curve required I suppose. I did make a start hopefully for whomever can pick it up :)