For complexes of coordination number 4:
If the metal is $\text{Ni}^{2+}$ ($d^8$ configuration) and the ligand is a strong-field ligand (like $\text{CN}^-$, CO), pairing occurs, resulting in $\text{dsp}^2$ (square planar, diamagnetic).
If the ligand is a weak-field ligand (like $\text{Cl}^-$, $\text{F}^-$), no pairing occurs, resulting in $\text{sp}^3$ (tetrahedral, paramagnetic).