Basement Washer Drain

So lately I’ve been seeing a few washing machines in basements that don’t have lift pumps. They pipe the washer drain directly to the sink drain piping directly above them; approximately 8’ rise. I’ve been writing this up to be reviewed by a plumber as it doesn’t comply with plumbing codes for many various reasons, however just wondering what your guys (plumbers) thoughts and solutions are, if any, for this scenario?