Line a cookie sheet with parchment paper and set aside.
Whisk together all of the dry ingredients, except the chocolate chips and raspberries, in medium bowl.
Beat together coconut oil or butter and sugar with an electric mixer in a large bowl or use a stand mixer on medium speed.
Add the eggs and vanilla and beat until smooth.
Fold the dry ingredients into the wet ingredients until there are a few streaks of the flour mixture remaining.
Toss diced cherries with 1 tablespoon of flour.
Fold in the chocolate chips and cherries until just combined.
Use a medium or large cookie scoop to scoop the dough onto a the parchment lined baking sheet and place the cookie dough balls in the fridge for at least 30 minutes.
When ready to bake, preheat the oven to 350F. You will need to bake in batches so the cookies have room. You want the balls of dough to be 2 inches apart.
Bake cookies for 10-12 minutes, until edges are set and centers seem not quite done.
Sprinkle with flaky salt if desired as soon as they come out of the oven.
Let cool for a couple minutes before transferring to a wire rack to finish cooling.
Bake in batches as needed.