I thought only California bans non competes. Washington almost did, but then their leaders took bribes from the tech companies to exclude higher earners.
For anyone curious the earning thresholds in Washington for non-competes to be OK were $120560 for employees and $301400 for independent contractors last year.
When non-competes are allowed they are limited to 18 months, and if you get laid off they are void unless the employer continues to pay your base salary during the duration of the non-compete.
Illinois has restrictions as well for employees <= ~$75k, for cases where it is clear that there is no clear business interest, employers must cover the cost where their NCA is overturned, etc.
https://www.mmmlaw.com/news-resources/minnesota-becomes-yet-...
North Dakota and Oklahoma as well, according to this map:
https://eig.org/state-noncompete-map/