UNPKG

10.2 kBMarkdownView Raw
1## [23.13.2](https://github.com/jest-community/eslint-plugin-jest/compare/v23.13.1...v23.13.2) (2020-05-26)
2
3
4### Bug Fixes
5
6* add `fail` to globals ([#595](https://github.com/jest-community/eslint-plugin-jest/issues/595)) ([aadc5ec](https://github.com/jest-community/eslint-plugin-jest/commit/aadc5ec5610ec024eac4b0aa6077cc012a0ba98e))
7
8## [23.13.1](https://github.com/jest-community/eslint-plugin-jest/compare/v23.13.0...v23.13.1) (2020-05-17)
9
10
11### Bug Fixes
12
13* **no-if:** use correct syntax for placeholder substitution in message ([6d1eda8](https://github.com/jest-community/eslint-plugin-jest/commit/6d1eda89ac48c93c2675dcf24a92574a20b2edb9))
14
15# [23.13.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.12.0...v23.13.0) (2020-05-16)
16
17
18### Features
19
20* **valid-expect:** support `minArgs` & `maxArgs` options ([#584](https://github.com/jest-community/eslint-plugin-jest/issues/584)) ([9e0e2fa](https://github.com/jest-community/eslint-plugin-jest/commit/9e0e2fa966b43c1099d11b2424acb1590c241c03))
21
22# [23.12.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.11.0...v23.12.0) (2020-05-16)
23
24
25### Features
26
27* deprecate `no-expect-resolves` rule ([b6a22e5](https://github.com/jest-community/eslint-plugin-jest/commit/b6a22e5aa98abcb57aac217c6d4583d0a3388e7b))
28* deprecate `no-truthy-falsy` rule ([a67d92d](https://github.com/jest-community/eslint-plugin-jest/commit/a67d92d2834568122f24bf3d8455999166da95ea))
29* deprecate `prefer-inline-snapshots` rule ([1360e9b](https://github.com/jest-community/eslint-plugin-jest/commit/1360e9b0e840f4f778a9d251371c943919f84600))
30
31# [23.11.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.10.0...v23.11.0) (2020-05-12)
32
33
34### Features
35
36* create `no-restricted-matchers` rule ([#575](https://github.com/jest-community/eslint-plugin-jest/issues/575)) ([ac926e7](https://github.com/jest-community/eslint-plugin-jest/commit/ac926e779958240506ee506047c9a5364bb70aea))
37
38# [23.10.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.9.0...v23.10.0) (2020-05-09)
39
40
41### Features
42
43* **no-deprecated-functions:** support jest `version` setting ([#564](https://github.com/jest-community/eslint-plugin-jest/issues/564)) ([05f20b8](https://github.com/jest-community/eslint-plugin-jest/commit/05f20b80ecd42b8d1f1f18ca19d4bc9cba45e22e))
44
45# [23.9.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.8.2...v23.9.0) (2020-05-04)
46
47
48### Features
49
50* create `no-deprecated-functions` ([#560](https://github.com/jest-community/eslint-plugin-jest/issues/560)) ([55d0504](https://github.com/jest-community/eslint-plugin-jest/commit/55d0504cadc945b770d7c3b6d3cab425c9b76d0f))
51
52## [23.8.2](https://github.com/jest-community/eslint-plugin-jest/compare/v23.8.1...v23.8.2) (2020-03-06)
53
54### Bug Fixes
55
56- **prefer-to-contain:** check that expect argument is defined before use
57 ([#542](https://github.com/jest-community/eslint-plugin-jest/issues/542))
58 ([56f909b](https://github.com/jest-community/eslint-plugin-jest/commit/56f909b326034236953d04b18dab3f64b16a2973))
59
60## [23.8.1](https://github.com/jest-community/eslint-plugin-jest/compare/v23.8.0...v23.8.1) (2020-02-29)
61
62### Bug Fixes
63
64- remove tests from published package
65 ([#541](https://github.com/jest-community/eslint-plugin-jest/issues/541))
66 ([099a150](https://github.com/jest-community/eslint-plugin-jest/commit/099a150b87fa693ccf1c512ee501aed1457ba656))
67
68# [23.8.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.7.0...v23.8.0) (2020-02-23)
69
70### Bug Fixes
71
72- **valid-title:** ensure argument node is defined before accessing props
73 ([#538](https://github.com/jest-community/eslint-plugin-jest/issues/538))
74 ([7730f75](https://github.com/jest-community/eslint-plugin-jest/commit/7730f757561100559509b756fd362ca33b9ab1d4))
75
76### Features
77
78- **no-large-snapshots:** add setting to define maxSize by snapshot type
79 ([#524](https://github.com/jest-community/eslint-plugin-jest/issues/524))
80 ([0d77300](https://github.com/jest-community/eslint-plugin-jest/commit/0d77300e61adc7a5aa84f34ff4ccc164075d5f41))
81
82# [23.7.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.6.0...v23.7.0) (2020-02-07)
83
84### Bug Fixes
85
86- **expect-expect:** use `u` flag in regex
87 ([#532](https://github.com/jest-community/eslint-plugin-jest/issues/532))
88 ([c12b725](https://github.com/jest-community/eslint-plugin-jest/commit/c12b7251ef1506073d268973b93c7fc9fbcf50af))
89
90### Features
91
92- **valid-title:** support `disallowedWords` option
93 ([#522](https://github.com/jest-community/eslint-plugin-jest/issues/522))
94 ([38bbe93](https://github.com/jest-community/eslint-plugin-jest/commit/38bbe93794ed456c6e9e5d7be848b2aeb55ce0ba))
95
96# [23.6.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.5.0...v23.6.0) (2020-01-12)
97
98### Features
99
100- **no-if:** support `switch` statements
101 ([#515](https://github.com/jest-community/eslint-plugin-jest/issues/515))
102 ([be4e49d](https://github.com/jest-community/eslint-plugin-jest/commit/be4e49dcecd64711e743f5e09d1ff24e4c6e1648))
103
104# [23.5.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.4.0...v23.5.0) (2020-01-12)
105
106### Features
107
108- **expect-expect:** support glob patterns for assertFunctionNames
109 ([#509](https://github.com/jest-community/eslint-plugin-jest/issues/509))
110 ([295ca9a](https://github.com/jest-community/eslint-plugin-jest/commit/295ca9a6969c77fadaa1a42d76e89cae992520a6))
111- **valid-expect:** refactor `valid-expect` linting messages
112 ([#501](https://github.com/jest-community/eslint-plugin-jest/issues/501))
113 ([7338362](https://github.com/jest-community/eslint-plugin-jest/commit/7338362420eb4970f99be2016bb4ded5732797e3))
114
115# [23.4.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.3.0...v23.4.0) (2020-01-10)
116
117### Features
118
119- **expect-expect:** support chained function names
120 ([#471](https://github.com/jest-community/eslint-plugin-jest/issues/471))
121 ([#508](https://github.com/jest-community/eslint-plugin-jest/issues/508))
122 ([beb1aec](https://github.com/jest-community/eslint-plugin-jest/commit/beb1aececee80589c182e95bc64ef01d97eb5e78))
123- **rules:** add support for function declaration as test case
124 ([#504](https://github.com/jest-community/eslint-plugin-jest/issues/504))
125 ([ac7fa48](https://github.com/jest-community/eslint-plugin-jest/commit/ac7fa487d05705bee1b2d5264d5096f0232ae1e1))
126
127# [23.3.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.2.0...v23.3.0) (2020-01-04)
128
129### Features
130
131- **rules:** add .concurrent support
132 ([#498](https://github.com/jest-community/eslint-plugin-jest/issues/498))
133 ([#502](https://github.com/jest-community/eslint-plugin-jest/issues/502))
134 ([dcba5f1](https://github.com/jest-community/eslint-plugin-jest/commit/dcba5f1f1c6429a8bce2ff9aae71c02a6ffa1c2b))
135
136# [23.2.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.1.1...v23.2.0) (2019-12-28)
137
138### Features
139
140- **valid-expect:** warn on `await expect()` with no assertions
141 ([#496](https://github.com/jest-community/eslint-plugin-jest/issues/496))
142 ([19798dd](https://github.com/jest-community/eslint-plugin-jest/commit/19798dd540c8a0f5ac7883f67a28ee67d9e5fc7a))
143
144## [23.1.1](https://github.com/jest-community/eslint-plugin-jest/compare/v23.1.0...v23.1.1) (2019-11-30)
145
146### Bug Fixes
147
148- **no-focused-tests:** detect table format uage of `.only.each`
149 ([#489](https://github.com/jest-community/eslint-plugin-jest/issues/489))
150 ([d03bcf4](https://github.com/jest-community/eslint-plugin-jest/commit/d03bcf49e9e4f068bead25a4bc4c962762d56c02))
151
152# [23.1.0](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.5...v23.1.0) (2019-11-29)
153
154### Features
155
156- **no-focused-tests:** check each with table format
157 ([#430](https://github.com/jest-community/eslint-plugin-jest/issues/430))
158 ([154c0b8](https://github.com/jest-community/eslint-plugin-jest/commit/154c0b8e5310f0c1bf715a8c60de5d84faa1bc48))
159
160## [23.0.5](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.4...v23.0.5) (2019-11-27)
161
162### Bug Fixes
163
164- typo in the `require-to-throw-message` docs
165 ([#487](https://github.com/jest-community/eslint-plugin-jest/issues/487))
166 ([3526213](https://github.com/jest-community/eslint-plugin-jest/commit/35262135e3bb407b9c40991d2651ca4b201eebff))
167
168## [23.0.4](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.3...v23.0.4) (2019-11-14)
169
170### Bug Fixes
171
172- get correct ruleName without specifying file extension
173 ([#473](https://github.com/jest-community/eslint-plugin-jest/issues/473))
174 ([f09203e](https://github.com/jest-community/eslint-plugin-jest/commit/f09203ed05a69c83baadf6149ae17513c85b170f))
175
176## [23.0.3](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.2...v23.0.3) (2019-11-08)
177
178### Bug Fixes
179
180- **no-test-callback:** don't provide fix for `async` functions
181 ([#469](https://github.com/jest-community/eslint-plugin-jest/issues/469))
182 ([09111e0](https://github.com/jest-community/eslint-plugin-jest/commit/09111e0c951aaa930c9a2c8e0ca84251b3196e94)),
183 closes [#466](https://github.com/jest-community/eslint-plugin-jest/issues/466)
184
185## [23.0.2](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.1...v23.0.2) (2019-10-28)
186
187### Bug Fixes
188
189- **prefer-todo:** ensure argument exists before trying to access it
190 ([#462](https://github.com/jest-community/eslint-plugin-jest/issues/462))
191 ([a87c8c2](https://github.com/jest-community/eslint-plugin-jest/commit/a87c8c29e1faf9d5364c9074d988aa95ef6cc987))
192
193## [23.0.1](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.0...v23.0.1) (2019-10-28)
194
195### Bug Fixes
196
197- **valid-title:** ignore string addition
198 ([#461](https://github.com/jest-community/eslint-plugin-jest/issues/461))
199 ([b7c1be2](https://github.com/jest-community/eslint-plugin-jest/commit/b7c1be2f279b87366332fb2d3a3e49a71aa75711))
200
201# [22.2.0](https://github.com/jest-community/eslint-plugin-jest/compare/v22.1.3...v22.2.0) (2019-01-29)
202
203### Features
204
205- **rules:** add prefer-todo rule
206 ([#218](https://github.com/jest-community/eslint-plugin-jest/issues/218))
207 ([0933d82](https://github.com/jest-community/eslint-plugin-jest/commit/0933d82)),
208 closes [#217](https://github.com/jest-community/eslint-plugin-jest/issues/217)