The problem is that coding style goes deeper, it goes right down to the abstraction.
That I think the editor should take care of. For more serious issues like your example of poorly named variables, there's nothing it could do (and is really the core of the problem, as you pointed out).
Golang apparently enforces a visual style. To a certain extent, Python does as well.