Check whitespace errors during PR validation.

review by @gkossakowski

Could you update docs and announce on scala-internals?