Q:

Chef - Foodcritic FC019 false positive

We are using foodcritic to lint all of our chef cookbooks and have recently come across this problem.
Using foodcritic 6.3.0
Output of foodcritic . is 
FC019: Access node attributes in a consistent manner: ./recipes/configure_topics.rb:6
FC019: Access node attributes in a consistent manner: ./recipes/configure_topics.rb:10
FC019: Access node attributes in a consistent manner: ./recipes/configure_topics.rb:12

configure_topics.rb has the following contents
#
# Cookbook Name:: kafka
# Recipe:: configure_topics
#

node['kafka']['topics'].each do |topic, flag|
    bash "create #{topic} topic" do
        user "root"
        code <<-EOH
        /opt/kafka/bin/kafka-topics.sh --zookeeper #{node['kafka']['broker']['zookeeper']['connect']} --create --topic #{topic} --partitions 1 --replication-factor 1
        EOH
        not_if "/opt/kafka/bin/kafka-topics.sh --zookeeper #{node['kafka']['broker']['zookeeper']['connect']} --list | grep #{topic}"
    end
end

As seen in the code, the symbol method of accessing attributes is not used, so FC019 should not be shown here, correct?
I've opened the following issue with foodcritic on their github here, however I haven't heard back. 
Is there anything I can do to change my recipe so it doesn't throw these warnings in the interim? Thanks.

A:

As @KarenB aluded to, the check is against the entire cookbook. You are likely using one of the other formats for everything else in the cookbook, so those were flagged as the least used and thus an error.

