01 - Preheat the oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together flour, baking soda, salt, cinnamon, ginger, cardamom, cloves, nutmeg, and oats.
03 - In a large bowl, beat the softened butter, granulated sugar, and brown sugar until light and creamy, about 2 minutes.
04 - Add eggs one at a time, beating well after each addition. Mix in vanilla extract.
05 - Gradually add the dry ingredients to the wet mixture, mixing until just combined.
06 - Fold in dried cranberries and nuts if using.
07 - Drop heaping tablespoons of dough onto prepared baking sheets, spacing about 2 inches apart.
08 - Bake for 10–12 minutes, or until the edges are golden and centers look just set.
09 - Cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.