01 - Preheat the oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the flour, oats, baking soda, salt, cinnamon, ginger, and nutmeg until well combined.
03 - In a large bowl, beat the softened butter with the brown and granulated sugars until light and fluffy, about 2-3 minutes.
04 - Beat in the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
05 - Gradually add the dry ingredients to the wet mixture, mixing on low speed just until combined. Do not overmix.
06 - Gently fold in the grated carrots, raisins, and nuts (if using) until evenly distributed throughout the dough.
07 - Drop tablespoonfuls of dough onto the prepared baking sheets, spacing them about 2 inches apart to allow for spreading.
08 - Bake for 11-13 minutes, or until the edges are golden brown but the centers remain soft. Rotate the pans halfway through for even baking.
09 - Let the cookies cool on the baking sheets for 5 minutes before transferring to a wire rack to cool completely.