Validate code formatting