24.0.2 (2020-09-20)
Bug Fixes
- no-if: check both types of function expression (#672) (d462d50), closes #670
24.0.1 (2020-09-12)
Bug Fixes
24.0.0 (2020-09-04)
Bug Fixes
Code Refactoring
- no-test-callback: rename rule to
no-done-callback
(#653) (e15a8d1)
Features
- no-done-callback: support hooks (#656) (3e6cb44), closes #649 #651
- add
no-conditional-expect
to the recommended ruleset (40cd89d) - add
no-deprecated-functions
to the recommended ruleset (5b2af00) - add
no-interpolation-in-snapshots
to the recommended ruleset (3705dff) - add
valid-title
to recommended ruleset (41f7873) - drop support for node 8 (#570) (6788e72)
- set
no-jasmine-globals
to error
in recommended ruleset (7080952) - no-large-snapshots: remove
whitelistedSnapshots
option (8c1c0c9)
BREAKING CHANGES
- no-done-callback:
no-done-callback
will now report hooks using callbacks as well, not just tests - no-test-callback: rename
no-test-callback
to no-done-callback
- recommend
no-conditional-expect
rule - recommend
no-interpolation-in-snapshots
rule - recommend
no-deprecated-functions
rule - recommend
valid-title
rule - recommend erroring for
no-jasmine-globals
rule - no-large-snapshots:
no-large-snapshots
runs on all files regardless of type - Jasmine globals are no marked as such
- Node 10+ required
Features
- no-large-snapshots: deprecate
whitelistedSnapshots
for new name (#632) (706f5c2)
Features
- create
no-interpolation-in-snapshots
rule (#553) (8d2c17c)
Bug Fixes
- no-if: report conditionals in call expressions (4cfcf08), closes #557
Bug Fixes
- no-large-snapshots: actually compare allowed name strings to name (#625) (622a08c)
Features
- valid-title: support
mustMatch
& mustNotMatch
options (#608) (4c7207e), closes #233
Bug Fixes
- lowercase-name: ignore all top level describes when option is true (#614) (624018a), closes #613
Features
- lowercase-name: support
ignoreTopLevelDescribe
option (#611) (36fdcc5), closes #247
Features
- create
no-conditional-expect
rule (aba53e4) - deprecate
no-try-expect
in favor of no-conditional-expect
(6d07cad)
Features
- no-standalone-expect: support
additionalTestBlockFunctions
(#585) (ed220b2)
Bug Fixes
- no-test-callback: check argument is an identifier (f70612d)
- no-test-callback: provide suggestion instead of autofix (782d8fa)
- prefer-strict-equal: provide suggestion instead of autofix (2eaed2b)
Features
- prefer-expect-assertions: provide suggestions (bad88a0)
Bug Fixes
Bug Fixes
- no-if: use correct syntax for placeholder substitution in message (6d1eda8)
Features
- valid-expect: support
minArgs
& maxArgs
options (#584) (9e0e2fa)
Features
- deprecate
no-expect-resolves
rule (b6a22e5) - deprecate
no-truthy-falsy
rule (a67d92d) - deprecate
prefer-inline-snapshots
rule (1360e9b)
Features
Features
- no-deprecated-functions: support jest
version
setting (#564) (05f20b8)
23.9.0 (2020-05-04)
Features
23.8.2 (2020-03-06)
Bug Fixes
- prefer-to-contain: check that expect argument is defined before use (#542) (56f909b)
23.8.1 (2020-02-29)
Bug Fixes
23.8.0 (2020-02-23)
Bug Fixes
- valid-title: ensure argument node is defined before accessing props (#538) (7730f75)
Features
- no-large-snapshots: add setting to define maxSize by snapshot type (#524) (0d77300)
23.7.0 (2020-02-07)
Bug Fixes
Features
- valid-title: support
disallowedWords
option (#522) (38bbe93)
23.6.0 (2020-01-12)
Features
23.5.0 (2020-01-12)
Features
- expect-expect: support glob patterns for assertFunctionNames (#509) (295ca9a)
- valid-expect: refactor
valid-expect
linting messages (#501) (7338362)
23.4.0 (2020-01-10)
Features
- expect-expect: support chained function names (#471) (#508) (beb1aec)
- rules: add support for function declaration as test case (#504) (ac7fa48)
23.3.0 (2020-01-04)
Features
23.2.0 (2019-12-28)
Features
- valid-expect: warn on
await expect()
with no assertions (#496) (19798dd)
23.1.1 (2019-11-30)
Bug Fixes
- no-focused-tests: detect table format uage of
.only.each
(#489) (d03bcf4)
23.1.0 (2019-11-29)
Features
- no-focused-tests: check each with table format (#430) (154c0b8)
23.0.5 (2019-11-27)
Bug Fixes
- typo in the
require-to-throw-message
docs (#487) (3526213)
23.0.4 (2019-11-14)
Bug Fixes
- get correct ruleName without specifying file extension (#473) (f09203e)
23.0.3 (2019-11-08)
Bug Fixes
- no-test-callback: don't provide fix for
async
functions (#469) (09111e0), closes #466
23.0.2 (2019-10-28)
Bug Fixes
- prefer-todo: ensure argument exists before trying to access it (#462) (a87c8c2)
23.0.1 (2019-10-28)
Bug Fixes
22.2.0 (2019-01-29)
Features