Punch up your regular chocolate cookie with this sweet and salty version.
Preheat oven to 450°.
Spoon the flour into a measuring cup, leveling off the top with a knife. Use a whisk to combine flour, baking soda, baking powder, and salt.
Beat the butter and sugar with a mixer, occasionally scraping down sides of the bowl, until light and fluffy, should take about 2-3 minutes. Add the eggs and vanilla and beat 'em for 4-5 minutes until they turn pale. Reduce mixer speed to low and gradually add flour mixture until just blended. Fold in chocolate chunks using a rubber spatula.
Scoop dough into even portions (2 tablespoons each) and arrange 2 inches apart on 2 parchment paper-lined baking sheets (up to 6 cookies per sheet). Sprinkle cookies with flaky salt and leave the sheets in the fridge until dough is firm to touch, about 10 minutes.
Bake the sheets at 450°, rotating halfway through cooking, until just golden brown around the edges, around 6-7 minutes. Let the cookies cool on the baking sheets for 5 minutes, then transfer to a cooling rack. Repeat process with remaining dough.