We may receive a commission on purchases made from links. While HOA rules often get the most attention, state and local governments issue their own codes, and those carry real financial penalties.