To what degree is this a problem if: 1) your level of kashrut is the same as this person who's cooking and 2) They do not cook on Shabbat?
Edit: To clarify, this didn't seem like a problem to me until someone told me it's not allowed. Now I'm looking for sources on that.