Preheat the oven to 350 F. In a medium bowl, whisk together flour, salt, and baking soda. In a large bowl, combine butter with both sugars until fluffy. Add in egg and vanilla extract and mix until smooth. Add in the flour mixture and mix until it is fully combined.