Add check for line lenght and trailing whitespace