improve error handling in ux_splitter (fix #286)
fix cpplint pre-commit to display errors correctly