Preheat oven to 350°F (177°C).
Mix together the flour, salt, and baking powder. Set aside.
In a mixer, cream together butter and sugar until smooth. Make sure to scrap down the slides of the bowl. Then mix in the eggs and vanilla until well incorporated.
With the mixer at low speed, alternate adding in the flour mixture and buttermilk. Start and end with the flour mixture. Mix until just incorporated.
Scoop batter into the lined cupcake pans until 2/3 full. I like to use a cookie scoop to make sure each cupcake is even - 2 scoops each. This recipe should fill about 14-16 cupcakes.
Bake for 18-22 minutes until the cupcakes pass the toothpick test - stick a toothpick into a cupcake and when it comes out clean, it's done! Let cool completely before frosting.