Pedantry

Pedantry (/ˈpɛd.ən.tri/ PED-ən-tree) is an excessive concern with formalism, minor details, and rules that are not important.