As discussed here <https://github.com/apache/spark/pull/2619>, it would be good to extend our Scala style checks to programmatically enforce as many of our style rules as possible.
Does anyone know if it's relatively straightforward to enforce additional rules like the "no trailing spaces" rule mentioned in the linked PR? Nick