It appears that the prefer-expect-assertions rule does not work if your test is within a describe.each() block or if the test itself is a test.each(). It doesn't detect that there's a lack of an expect.assertions() or expect.hasAssertions() call at the beginning of the test.