alecthomas / gometalinter

DEPRECATED: Use https://github.com/golangci/golangci-lint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--config should fail on invalid keys

lkysow opened this issue · comments

Spent some time debugging why Enabled and Linter didn't work. (The reason is that they keys are Enable and Linters).

Would be nice to fail the config parsing on invalid keys.

Unfortunately Go's JSON parser doesn't have that capability. I agree it would be very useful though :(

Aha nice! I completely did not realise they'd added that. Send a PR!

I should! I love your project. Let me see if I can find some time.