Preheat your oven to 350°F (175°C). Line a baking sheet with parchment paper.
In a mixing bowl, whisk together the flour, baking soda, and salt. Set aside.
In another bowl, cream the softened butter, brown sugar, and granulated sugar together until light and fluffy, about 2-3 minutes.
Add the vanilla extract and sourdough discard to the butter mixture. Mix until well combined.
Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.
Gently fold in the chocolate chips.
Use a tablespoon to scoop out dough and place it onto the prepared baking sheet, spacing them about 2 inches apart.
Bake in the preheated oven for 10-12 minutes or until the edges are slightly golden.
Remove the baking sheet from the oven and allow the cookies to cool on the sheet for 5 minutes before transferring them to a wire rack to cool completely.