Whisk the flour, baking powder, baking soda, and salt together in a medium bowl. Set aside.
In a large bowl, using a handheld mixer or a stand mixer fitted with a paddle attachment, beat the butter on medium-high speed until smooth, about 1 minute. Add the granulated sugar and brown sugar, and beat on medium-high speed until creamed, about 2 minutes. Add the eg