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