In my first frontend dev job for a startup, the contract was absolutely ludicrous. I believe it was something like I can't work in a related industry (tech) or with any clients of the company or the specific domain of the tech I was working on etc etc. For a year.
Had a lawyer look it over who said it was highly unlikely to be enforcable, then I got the company to basically remove the parts that didn't fly.