Next, whisk together the flour, baking soda, cornstarch, and salt in a separate medium bowl. In a large bowl of an electric mixer or stand mixer, cream butter with the sugars at medium-high speed for 2-3 minutes. Add the eggs, peppermint extract, and vanilla, mixing until just combined.