enable flymake only when mjs-check is listed as a dev dependency