pedantry
🇺🇸
/ˈpedntri/
🇬🇧
/ˈpedntri/
excessive concern with minor details or rules
His pedantry in correcting every grammar mistake was starting to annoy his colleagues.