Closed Bjorn248 closed 8 years ago
This was cross-posted to StackOverflow and answered (probably) over there. https://stackoverflow.com/questions/38577490/chef-foodcritic-fc019-false-positive/38579150
Yes, this was resolved on stack overflow. I had dot notation in the attributes file e.g. default.kafka.version
and that was causing the string notation to throw the warnings.
http://stackoverflow.com/questions/38577490/chef-foodcritic-fc019-false-positive
Necro-thread time: shouldn't this still be a bug with foodcritic, namely that it should show the line in attributes.rb that causes it to flag the recipes?
Using foodcritic 6.3.0
Output of
foodcritic .
isconfigure_topics.rb has the following contents
As seen in the code, the symbol method of accessing attributes is not used, so FC019 should not be shown here, correct?