Earls filed her unusual federal lawsuit on Tuesday against the North Carolina Judicial Standards Commission, which told her earlier this month that an investigation into whether she violated the state’s judicial conduct code — then dismissed — was being reopened in light of a media interview released in June.