I've been with an academic software team for 3 months. I feel the project is doomed: management's attitude is "build features and they will come", team members are distributed and communicate minimally, there's virtually no code review, the codebase is buggy and unreadable, documentation is difficult to read, the website is difficult to navigate, nobody pays attention to competing projects and practices. At first I gently suggested improving one thing at a time (development workflow; test infrastructure; more code review; working closely with users). Lately I've been desperate and have made unconstructive comments like "this looks like s**t" or "your code is so buggy, it is unethical to tell a user they could run it in production" or generally ranted in frustration. I think the team lead wants me to leave.
Should I resign? Is there a way to regain my optimism? Is there a constructive way to alert team members to the dire state of the habits and codebase they've built over many years?