A lawyer who claims her firm fired her for threatening to report a violation of ethics rules governing civil case settlements can sue under New Jersey’s whistleblower law, a state appeals court says.

The Appellate Division held on Thursday that a trial judge erred in throwing out the claim based on his view that the alleged misconduct was not covered by the Conscientious Employee Protection Act and because plaintiff Melissa Morris did not follow through on her threat to go to authorities.