A lot will depend on exactly what violations were found but it really sounds like you need a lawyer more than an electrician if you are going after the original guy. It will come down to Illinois law and what requirements are imposed on an electrician there. There should some minimum standards they have to adhere to.
Up there, I bet the unions have more power than the government but you probably had an non-union electrician.
Most of the rules about car chargers are in more recent code cycles tho.