A major shooting war with nations having capabilities that pose a serious threat to our carrier fleet (Russia, China) is likely to escalate very quickly, with bad consequences for everyone involved.
With good leadership and command, it's going to be a while before other nations have the capability of seriously threatening our carriers in open battle. (Barring command complacency or insane ROEs, it would take a lucky shot, a sneak attack by an assumed non-belligerent, or a really good enemy sub skipper to seriously damage or sink a carrier.)
In the meantime, carriers are very useful for hammering various dictators, jihadis, and other turd-world troublemakers.