In a small bowl, mix the flour, oats, baking powder, cinnamon, and salt. Set this aside. Preheat the oven to 350 degrees. Line 2 baking sheets with parchment paper. You don't have to do this, but it makes cleanup so much easier.
In your stand mixer (this can also be done by hand), add butter, brown sugar, and granulated sugar. Mix for about 1 minute on medium speed, the mixture should be light and fluffy. Go 2 minutes if you need to.
Add in eggs and vanilla, then mix to combine. Next up is the flour mixture, pecans, and raisins. Mix again to combine.
Scoop onto your baking sheet. They will spread, so give a few inches between the cookies. I baked 12 per sheet pan.
Place in the preheated oven and bake. If you used the medium cookie scoop as I did, they should take about 12 minutes. You will want them to be just barely browned around the edges.
If you like soft, chewy cookies as I do, the 12 minutes was perfect. If you want a crispier cookie, go for 16-18 minutes.
Remove from oven. With a spatula, carefully move them from the pan to the cooling rack.
They are delicious hot or cooled, you cannot go wrong. Now, sit back and enjoy. You deserve it!