1 is correct; 2 is not. Think of "to eat" here as a short form of "in order to eat". ] Also correct: I like eating in restaurants; eating in restaurants is fun (nouns) I like to eat in restaurants.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.