Add option to detect whitespace errors