[COOK-3802] - FC019 access attributes in a consistent manner
Adding foodcritic and rubocop