move reporting to rflint object; exit with non-zero exit code if errors