Many suggested edits just consist in indenting some lines by four spaces (and sometimes add a padding blank line before).
Would it be possible to automatically approve such edits? In almost all cases it is just code formatting.
We just deployed a method that we think is quite reliable for blocking 98% of posts submitted with code that has improper code formatting (or no code formatting at all).
For example, when I go into Chrome incognito and attempt to ask this question body on Stack Overflow right now:
I get back:
This check is limited to users with <= 50 reputation and is performed on questions / answers / edits and suggested edits.
If you see or hear of any cases where this is triggered inappropriately -- or not triggered, and it should have been -- let us know.
I don't think code edits should be treated any differently from any other edits. Just because somebody has entered an extra blank line / a bunch of spaces, doesn't mean that the code appearance has actually been improved, or was necessary. The race to fix newly asked questions can already turn into a bun fight, where people try to get their small change in, before somebody else edits the post rather than editing the whole thing in one sweep.
If you did go down this route, the least you would have to do is remove any rep gain from automated approvals, to remove the likelihood of gaming the system by going round inserting 4 spaces one line at a time to random code samples around the site...