NetClass and Mounting Holes

I think you can also make good use of: PCB Editor / File / Board Setup / Design Rules / Custom Rules here. This topic has already been answered multiple times on this forum. The thread below is the first that popped up with a search, but there are more of them.