AtomLinter / linter-foodcritic

Atom linter provider for foodcritic
MIT License
1 stars 5 forks source link

Can't get linter-foodcritic working #46

Closed jwr0 closed 7 years ago

jwr0 commented 7 years ago

I installed linter, foodcritic-linter and language-chef. I expected Atom to catch errors as I make them, but it's saying "0 errors" at the bottom. I'm using this example recipe code as an error:

package 'foo' do
  action :blergh
end

I have blown away my ~/.atom/ directory and reinstalled my packages, so apart from installing those three packages my Atom config is completely fresh. which foodcritic does show that foodcritic is in my $PATH, and foodcritic . catches errors as expected when run manually. In case it matters, I'm on Ubuntu 16.04 with Atom 1.16.0-1~webupd8~0. I can paste any other logs or config, etc.

Thanks.

jwr0 commented 7 years ago

I now noticed that it works on some Chef recipe files but not others. Weird, but probably not the fault of this linter. Closing.