01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together flour, cinnamon, nutmeg, baking soda, baking powder, and salt until well combined.
03 - In a large bowl, beat the butter, brown sugar, and granulated sugar until light and fluffy, approximately 2 minutes.
04 - Add the egg and vanilla extract to the butter mixture. Beat until fully incorporated.
05 - Gradually mix the dry ingredients into the wet ingredients, stirring until just combined. Do not overmix.
06 - Gently fold in grated carrots, chopped walnuts, and raisins until evenly distributed throughout the dough.
07 - Drop tablespoon-sized mounds of dough onto prepared baking sheets, spacing them approximately 2 inches apart to allow for spreading.
08 - Bake for 11 to 13 minutes, until edges are lightly golden but centers remain soft for chewy texture.
09 - Let cookies rest on baking sheet for 5 minutes, then transfer to wire rack to cool completely.