The fact that the electrician installed a 30 amp breaker and used #12 ga. (20 amp rated) wire is not necessarily wrong. For dedicated motor circuits, different rules apply and it is permissible to use a breaker of higher rating than the min. necessary wire size (as with an RV A/C for example). This is because motors have a momentary high inrush current, sometimes in the order of 6 times the full load running current. If a higher rated breaker is not used, the breaker would trip every time the motor tried to start.
This thread gives
some relevant info.
motor wire & breaker sizesWhat I *think* what the electrician did wrong is use a standard duplex receptacle. My experience as an engineer is with the Canadian Electrical Code and I'm not sure what
all the current applicable rules are for motor circuits in the NEC. I think a single 20 amp (or possibly 15 amp) receptacle should probably have been used along with a label identifying the recept. as "compressor use only". But you would need to either read the current NEC rules or ask the local inspector. (It's been many years since I've read the NEC alongside the CEC.) The way it sits now, an ordinary 15 amp duplex recept. with a 30 amp breaker is a bad idea.
If you are going to install something new or modify the existing installation for a dedicated power source for an RV, I would highly recommend installing a disconnect switch ahead of the receptacle (30 amp or 15 amp). You should avoid plugging in live because you can end up with pitting on the plug and inside the recept., caused by the inrush current of the converter when it's plugged in, which can lead to overheating and a meltdown or worse. A motor-rated disconnect switch works well because they are designed for higher make/break current.
If you're not going to ever use the A/C, a 15 amp circuit is just fine. It doesn't sound like there is a voltage issue that would warrant using higher gauge wire. If you plan to retain the existing compressor circuit/receptacle for the compressor, I would install a single receptacle (not "duplex") and check the FLA of the compressor motor to see if it should be 15 or 20 amps. It could be that the wire is over-sized as it is now and not an issue.