Resistive instabilities in a flowing plasma: I. Inviscid case