Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Rubocop not working for Chef Recipes #273

Open
jschilperoord opened this issue May 15, 2018 · 1 comment
Open

Rubocop not working for Chef Recipes #273

jschilperoord opened this issue May 15, 2018 · 1 comment

Comments

@jschilperoord
Copy link

Hi,

Not sure if I should report this here but. When I install language-chef linter-rubocop doesn't seem to be doing anything. The green circle in the Atom status bar doesn't indicate it's linting.

When I remove language-chef(Atom detects Ruby as file type). Everything works fine.

Using linter-rubocop 2.2.3.

Thanks, Jeffrey

@mattlqx
Copy link

mattlqx commented May 17, 2018

I'm not an expert here, but it appears that language-chef coerces Chef files to source.chef.(recipes|metadata) now (sous-chefs/language-chef@5d5baaf#diff-5a6fbddba660ab603e2f329c65affa45) instead of source.ruby.chef that linter-rubocop binds to. (https://github.com/AtomLinter/linter-rubocop/blob/master/src/index.js#L210)

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

Successfully merging a pull request may close this issue.

2 participants