You were smart to quit. Different attorneys will have different opinions about reporting legal violations - unless I knew more facts, my analysis would be no.
The above is general legal and business analysis. It is not "legal advice" but analysis, and different lawyers may analyse this matter differently, especially if there are additional facts not reflected in the question. I am not your attorney until retained by a written retainer agreement signed by both of us. I am only licensed in California. See also avvo.com terms and conditions item 9, incorporated as if it was reprinted here.
You may have a claim for constructive discharge. A constructive discharge claim is essentially (i) when the employer makes the conditions of work so intolerable that no reasonable person who wishes to remain employed would continue working; and (ii) the employer is motivated by an improper purpose such as discrimination against a protected class (i.e. race, religion, gender, sexual orientation, military service, disability, etc.) or retaliation for reporting or refusing to engage in illegal conduct.
You should also file for unemployment immediately.
You should also consult a lawyer to discuss your rights and how to proceed.