Corporate earnings solid so far, despite threats from a slowing economy and sticky inflation