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 butter mixture. Beat until fully incorporated.
05 - Gradually mix dry ingredients into wet ingredients, stirring until just combined. Avoid overmixing.
06 - Gently fold in grated carrots, chopped walnuts, and raisins until evenly distributed throughout dough.
07 - Drop tablespoon-sized mounds of dough onto prepared baking sheets, spacing approximately 2 inches apart.
08 - Bake for 11 to 13 minutes until edges are lightly golden while centers remain soft.
09 - Let cookies rest on baking sheet for 5 minutes, then transfer to wire rack to cool completely.