I have a very space-limited situation for a bathroom sink.
My 4" vent stack is inside the wall immediately to the left of my sink (~18 inches away, probably less).
If my sink's tail piece is close to the wall such that end of the p-trap ends inside the wall, would it be against code to run from the tailpiece, perpendicular to inside the wall with the p-trap, and then from the p-trap turn 90 degrees and connect it to the stack directly without adding a vent? This doesn't add any additional bends or turns, it just changes the direction that the exit of the p-trap is pointing (90 degrees perpendicular instead of parallel).
Code dictates that a vent has to be within a certain distance of the p-trap, and the stack is well within that distance. I can't go up to vent above the fixture flood level because there is a vanity mirror in the wall blocking. I'd like to avoid adding a Studor vent if I can.