[minor] Fix a copy-paste typo
Apply FC045 (name in metadata.rb)
Bump to foodcritic 2.2.0 and apply FC033

With foodcritic < 2.2.0, FC033 was wrongly raised if template source name was not terminated by `.erb` extension.
Apply FC014: no more long ruby_block detected