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 blended.
03 - In a large bowl, beat butter, brown sugar, and granulated sugar until light and fluffy, approximately 2 minutes.
04 - Add egg and vanilla extract to the butter mixture. Beat until fully incorporated.
05 - Gradually mix the dry ingredients into the wet mixture until just combined. Do not overmix.
06 - 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 about 2 inches apart to allow for spreading.
08 - Bake for 11 to 13 minutes until edges are lightly golden while centers remain slightly soft.
09 - Let cookies rest on baking sheet for 5 minutes, then transfer to wire rack to cool completely.