pedantry
noun
°An excessive attention to detail or rules.
°An instance of such behaviour.