Add foodcritic and fix the missing name issue