Cities and municipalities have codes or guidelines that are routinely enforced. You may find yourself in trouble with local municipalities if these codes are broken. Be sure to educate yourself on what is expected from renters, roommates, and even home owners.
Below are links to local municipalities. Contact the office for the city or municipality that you live in to find codes specific to you.