Problem: I use "test.only" to run a single test quickly


Problem: I use "test.only" to run a single test quickly. But if I forget to remove the "only" before committing, no other tests will run on CI. 😬

Solution: eslint-plugin-no-only-tests

Now CI fails if there are any tests marked with only.

https://www.npmjs.com/package/eslint-plugin-no-only-tests

View original on X