Releases: levibuzolic/eslint-plugin-no-only-tests
Releases · levibuzolic/eslint-plugin-no-only-tests
v3.4.0
What's Changed
- Bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot[bot] in #47
- Bump js-yaml from 4.1.0 to 4.1.1 by @dependabot[bot] in #51
- Update README for flat config by @levibuzolic in #52
- Bump minimatch from 3.1.2 to 3.1.5 by @dependabot[bot] in #54
- Document oxlint setup by @AndreyYolkin in #53
- Bump flatted from 3.3.1 to 3.4.2 by @dependabot[bot] in #55
- Add common framework setup docs for focused tests by @levibuzolic in #57
- Optimize Oxlint integration and release v3.4.0 by @levibuzolic in #58
- Update Actions for npm trusted publishing by @levibuzolic in #59
- Remove npm registry auth from publish workflow by @levibuzolic in #60
- Update release workflow for trusted publishing by @levibuzolic in #61
- Fix GitHub release npm publish auth by @levibuzolic in #62
New Contributors
- @AndreyYolkin made their first contribution in #53
Full Changelog: v3.3.0...v3.4.0
v3.3.0
v3.2.0
What's Changed
Development Changes
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #41
- Bump semver from 7.3.5 to 7.5.4 by @dependabot in #40
New Contributors
Full Changelog: v3.1.0...v3.2.0
v3.1.0
v3.0.0
Added
- Block scope matchers can accept a trailing
*to optionally match blocks by prefix #35
Breaking
- Block matchers no longer match prefixes of blocks by default, can now be configured via options #35
Other
- Create CODE_OF_CONDUCT.md by @levibuzolic in #30
- Tidy up readme and make some minor syntax changes by @levibuzolic in #31
- Target node >=5 which supports the spread syntax which is used in the package by @levibuzolic in #32
Full Changelog: v2.6.0...v3.0.0
v2.6.0
v2.5.0
v2.4.0
- Add support for defining 2 levels deep in blocks (ie.
ava.default)
rules: {
'no-only-tests/no-only-tests': ['error', {
block: ['ava.default'],
focus: ['only']
}]
}Will now raise lint errors for code that looks like:
ava.default.only(() => {})v2.3.1
v2.3.0
- Allow test block names to be specified in options - #10
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.onlyandassert.focus.