Releases · levibuzolic/eslint-plugin-no-only-tests (original) (raw)

v3.4.0

What's Changed

New Contributors

Full Changelog: v3.3.0...v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.0

Added

Breaking

Other

Full Changelog: v2.6.0...v3.0.0

v2.6.0

v2.5.0

v2.4.0

Will now raise lint errors for code that looks like:

ava.default.only(() => {})

v2.3.1

v2.3.0

If you use a testing framework that uses an unsupported block name, or a different way of focusing test (something other than .only) you can specify an array of blocks and focus methods to match in the options.

{ "rules": { "no-only-tests/no-only-tests": ["error", {"block": ["test", "it", "assert"], "focus": ["only", "focus"]}] } }

The above example will catch any uses of test.only, test.focus, it.only, it.focus, assert.only and assert.focus.