Combine basil, spinach, and pine nuts in a food processor; blend until finely chopped, about 30 seconds. Add garlic and pulse 15 to 30 seconds. Add oil slowly while food processor is on. Stop to scrape sides with a rubber spatula as needed. Add Parmesan cheese and pulse until blended.