The state attorney general is suing an eastern Washington county over allegations the sheriff has for years flouted state law by aiding federal immigration enforcement.