Removing Recipes "Correctly"

I already have a way to remove recipes and it works just fine, but misode (and the datapack helper plugin) both mark it with yellow, which makes me want to ask.. Is there a "correct" way to remove a vanilla recipe?
Continue to help post