UNPKG

15.2 kBMarkdownView Raw
1## 8.1.0 (March 5, 2021)
2
3### Bug Fixes
4
5* Fix prefer-arrow-callback to not fail when using import.meta ([#266](https://github.com/lo1tuma/eslint-plugin-mocha/pull/266))
6
7### Enhancements
8
9* Speed up no-exclusive-tests and no-pending-tests ([#276](https://github.com/lo1tuma/eslint-plugin-mocha/pull/276))
10* set env.mocha on recommended config ([#273](https://github.com/lo1tuma/eslint-plugin-mocha/pull/273))
11* Add benchmarks for runtime with many files ([#269](https://github.com/lo1tuma/eslint-plugin-mocha/pull/269))
12
13### Documentation
14
15* Remove stray linebreak at top of file ([#272](https://github.com/lo1tuma/eslint-plugin-mocha/pull/272))
16* Add recommended tick to `no-exports` ([#271](https://github.com/lo1tuma/eslint-plugin-mocha/pull/271))
17
18### Build-Related
19
20* Improve benchmark test reliability ([#277](https://github.com/lo1tuma/eslint-plugin-mocha/pull/277))
21
22## 8.0.0 (August 6, 2020)
23
24### Breaking Changes
25
26* Consistently use shared settings in all rules ([#262](https://github.com/lo1tuma/eslint-plugin-mocha/pull/262))
27* remove autofix from no-skipped-tests rule fix ([#258](https://github.com/lo1tuma/eslint-plugin-mocha/pull/258))
28
29### Features
30
31* New rule no-exports ([#263](https://github.com/lo1tuma/eslint-plugin-mocha/pull/263))
32
33### Enhancements
34
35* New option `ignoreSkipped` for `handle-done-callback` rule ([#260](https://github.com/lo1tuma/eslint-plugin-mocha/pull/260))
36
37### Documentation
38
39* Add meta.docs.description to all rules ([#257](https://github.com/lo1tuma/eslint-plugin-mocha/pull/257))
40
41### Dependency Upgrades
42
43* Update dependencies ([#259](https://github.com/lo1tuma/eslint-plugin-mocha/pull/259))
44
45### Code Refactoring
46
47* Use includes instead of indexOf ([#261](https://github.com/lo1tuma/eslint-plugin-mocha/pull/261))
48
49## 7.0.1 (May 30, 2020)
50
51### Bug Fixes
52
53* Fix no-setup-in-describe to not flag describe.skip() ([#256](https://github.com/lo1tuma/eslint-plugin-mocha/pull/256))
54* Fix max-top-level-suites to work with ES modules ([#255](https://github.com/lo1tuma/eslint-plugin-mocha/pull/255))
55* Support comments in arrow functions when fixing ([#253](https://github.com/lo1tuma/eslint-plugin-mocha/pull/253))
56
57## 7.0.0 (May 13, 2020)
58
59### Breaking Changes
60
61* Drop support for ESLint < v7 and Node.js < v10 ([#247](https://github.com/lo1tuma/eslint-plugin-mocha/pull/247))
62
63### Enhancements
64
65* Add `meta.type` and missing `fixable: 'code'` ([#245](https://github.com/lo1tuma/eslint-plugin-mocha/pull/245))
66
67### Dependency Upgrades
68
69* Updates of devDependencies ([#246](https://github.com/lo1tuma/eslint-plugin-mocha/pull/246))
70
71## 6.3.0 (February 19, 2020)
72
73### Bug Fixes
74
75* no-hooks-for-single-case: fix false postive in nested suites ([#238](https://github.com/lo1tuma/eslint-plugin-mocha/pull/238))
76* Fix max-top-level-suites to ignore generated suites ([#239](https://github.com/lo1tuma/eslint-plugin-mocha/pull/239))
77* Check static template strings in valid-test-description and valid-suite-description ([#237](https://github.com/lo1tuma/eslint-plugin-mocha/pull/237))
78
79### Enhancements
80
81* no-hooks: add option to allow certain kind of hooks ([#236](https://github.com/lo1tuma/eslint-plugin-mocha/pull/236))
82* Add schemas for options (and remove for files which are using settings) ([#234](https://github.com/lo1tuma/eslint-plugin-mocha/pull/234))
83* Add `u` flag in RegExp for `valid-test-description` and `valid-suite-description` ([#232](https://github.com/lo1tuma/eslint-plugin-mocha/pull/232))
84* Add `fixable` property to fixable rules (and mention in docs) ([#228](https://github.com/lo1tuma/eslint-plugin-mocha/pull/228))
85* add plugin to recommended config ([#226](https://github.com/lo1tuma/eslint-plugin-mocha/pull/226))
86
87### Documentation
88
89* Indicate whether rule is recommended ([#229](https://github.com/lo1tuma/eslint-plugin-mocha/pull/229))
90* "Options" heading in doc files (and consistent level 2 heading) ([#233](https://github.com/lo1tuma/eslint-plugin-mocha/pull/233))
91* Doc syntax issue ([#231](https://github.com/lo1tuma/eslint-plugin-mocha/pull/231))
92
93### Code Refactoring
94
95* Nondeprecated rule format ([#235](https://github.com/lo1tuma/eslint-plugin-mocha/pull/235))
96* Alphabetize rule lists ([#227](https://github.com/lo1tuma/eslint-plugin-mocha/pull/227))
97
98### Build-Related
99
100* - npm: Add package-lock.json ([#230](https://github.com/lo1tuma/eslint-plugin-mocha/pull/230))
101* ✉️ Send a webhook to Coveralls when the build completes ([#222](https://github.com/lo1tuma/eslint-plugin-mocha/pull/222))
102
103## 6.2.2 (November 22, 2019)
104
105### Bug Fixes
106
107* Support TDD interface in no-setup-in-describe ([#220](https://github.com/lo1tuma/eslint-plugin-mocha/pull/220))
108
109### Build-Related
110
111* 🚀 Use GitHub Actions instead of Travis ([#221](https://github.com/lo1tuma/eslint-plugin-mocha/pull/221))
112
113## 6.2.1 (October 28, 2019)
114
115### Bug Fixes
116
117* Fix no-setup-in-describe to allow mocha config calls ([#215](https://github.com/lo1tuma/eslint-plugin-mocha/pull/215))
118* Relax no-synchronous-tests to allow non literals from concise arrows ([#216](https://github.com/lo1tuma/eslint-plugin-mocha/pull/216))
119
120### Documentation
121
122* Minor documentation tweaks ([#217](https://github.com/lo1tuma/eslint-plugin-mocha/pull/217))
123
124### Dependency Upgrades
125
126* Update devDependencies ([#218](https://github.com/lo1tuma/eslint-plugin-mocha/pull/218))
127
128## 6.2.0 (October 14, 2019)
129
130### Enhancements
131
132* Startup Performance Optimization ([#214](https://github.com/lo1tuma/eslint-plugin-mocha/pull/214))
133
134## 6.1.1 (September 11, 2019)
135
136### Bug Fixes
137
138* Fix no-setup-in-describe to allow Mocha suite config ([#209](https://github.com/lo1tuma/eslint-plugin-mocha/pull/209))
139
140## 6.1.0 (August 22, 2019)
141
142### Enhancements
143
144* Add custom message for valid-suite-description ([#207](https://github.com/lo1tuma/eslint-plugin-mocha/pull/207))
145* Add custom message for valid-test-description rule ([#206](https://github.com/lo1tuma/eslint-plugin-mocha/pull/206))
146
147## 6.0.0 (July 17, 2019)
148
149### Breaking Changes
150
151* Revamped recommended ruleset ([#200](https://github.com/lo1tuma/eslint-plugin-mocha/pull/200))
152* Drop nodejs 6 support ([#197](https://github.com/lo1tuma/eslint-plugin-mocha/pull/197))
153
154### Bug Fixes
155
156* Fix no-setup-in-describe to correctly detect describe calls ([#196](https://github.com/lo1tuma/eslint-plugin-mocha/pull/196))
157* Fix no-setup-in-describe to work with arrow functions ([#195](https://github.com/lo1tuma/eslint-plugin-mocha/pull/195))
158
159### Features
160
161* Implement no-return-from-async rule ([#190](https://github.com/lo1tuma/eslint-plugin-mocha/pull/190))
162
163### Dependency Upgrades
164
165* Update dev dependencies ([#199](https://github.com/lo1tuma/eslint-plugin-mocha/pull/199))
166
167### Build-Related
168
169* Add nodejs to travis build environments ([#198](https://github.com/lo1tuma/eslint-plugin-mocha/pull/198))
170
171## 5.3.0 (February 13, 2019)
172
173### Features
174
175* Implement no-async-describe rule ([#188](https://github.com/lo1tuma/eslint-plugin-mocha/pull/188))
176
177## 5.2.1 (January 8, 2019)
178
179### Bug Fixes
180
181* Remove invalid test-cases and unreachable code from prefer-arrow-callback ([#186](https://github.com/lo1tuma/eslint-plugin-mocha/pull/186))
182* Fix invalid syntax in test case ([#182](https://github.com/lo1tuma/eslint-plugin-mocha/pull/182))
183
184### Documentation
185
186* Fixing typo ([#184](https://github.com/lo1tuma/eslint-plugin-mocha/pull/184))
187* Replace `warning` with `warn` ([#181](https://github.com/lo1tuma/eslint-plugin-mocha/pull/181))
188
189### Dependency Upgrades
190
191* Update dependencies ([#187](https://github.com/lo1tuma/eslint-plugin-mocha/pull/187))
192* Update eslint-plugin-node to the latest version 🚀 ([#173](https://github.com/lo1tuma/eslint-plugin-mocha/pull/173))
193
194## 5.2.0 (August 13, 2018)
195
196### Enhancements
197
198* Prohibit tests in beforeEach etc. hook calls ([#174](https://github.com/lo1tuma/eslint-plugin-mocha/pull/174))
199
200## 5.1.0 (July 6, 2018)
201
202### Bug Fixes
203
204* Issue #166: No setup in describe hooks ([#167](https://github.com/lo1tuma/eslint-plugin-mocha/pull/167))
205
206### Features
207
208* Adds mocha-aware prefer-arrow-callback rule ([#163](https://github.com/lo1tuma/eslint-plugin-mocha/pull/163))
209
210### Dependency Upgrades
211
212* Update eslint-config-holidaycheck to version 0.13.1 ([#170](https://github.com/lo1tuma/eslint-plugin-mocha/pull/170))
213* Update eslint to version 5.0.1 ([#169](https://github.com/lo1tuma/eslint-plugin-mocha/pull/169))
214* Update nyc to version 12.0.2 ([#168](https://github.com/lo1tuma/eslint-plugin-mocha/pull/168))
215
216### Build-Related
217
218* Add node 10 build environment ([#171](https://github.com/lo1tuma/eslint-plugin-mocha/pull/171))
219
220## 5.0.0 (March 24, 2018)
221
222### Breaking Changes
223
224* Remove support for ESLint versions < 4.0.0 ([#155](https://github.com/lo1tuma/eslint-plugin-mocha/pull/155))
225* Remove support for nodejs 4, 5 and 7 ([#154](https://github.com/lo1tuma/eslint-plugin-mocha/pull/154))
226
227### Dependency Upgrades
228
229* Update pr-log to the latest version 🚀 ([#159](https://github.com/lo1tuma/eslint-plugin-mocha/pull/159))
230* Update chai to version 4.1.2 ([#151](https://github.com/lo1tuma/eslint-plugin-mocha/pull/151))
231
232### Code Refactoring
233
234* Use new language features ([#156](https://github.com/lo1tuma/eslint-plugin-mocha/pull/156))
235
236### Build-Related
237
238* Use nyc instead of istanbul ([#153](https://github.com/lo1tuma/eslint-plugin-mocha/pull/153))
239* Whitelist files instead of using .npmignore ([#152](https://github.com/lo1tuma/eslint-plugin-mocha/pull/152))
240
241## 4.12.1 (March 3, 2018)
242
243### Bug Fixes
244
245* Fix: skip template strings in valid-test-description and valid-suite-description
246
247## 4.12.0 (March 2, 2018)
248
249### Features
250
251* Adds rule "no setup in describe" (#147)
252
253### Dependency Upgrades
254
255* Update coveralls to the latest version 🚀 (#142)
256* chore(package): update mocha to version 5.0.1 (#150)
257* Update ramda to the latest version 🚀 (#144)
258
259### Bug Fixes
260
261* Fix complexity problems (#149)
262
263## 4.11.0 (June 19, 2017)
264
265### Enhancements
266
267* Added support for async functions in no-synchronous-tests (#138)
268
269## 4.10.1 (June 12, 2017)
270
271### Bug Fixes
272
273* don't drop support for eslint 3.x (#137)
274
275## 4.10.0 (June 12, 2017)
276
277### Build-Related
278
279* Add node 8 to build environments (#135)
280
281### Enhancements
282
283* Support ESLint 4.x (#134)
284
285### Dependency Upgrades
286
287* Update ramda to the latest version 🚀 (#130)
288* Update pr-log to version 2.0.0 🚀 (#127)
289
290## 4.9.0 (March 17, 2017)
291
292### Dependency Upgrades
293
294* Update ramda to version 0.23.0 🚀 (#121)
295
296### Enhancements
297
298* Add settings to support additional suite function names (#126)
299
300### Documentation
301
302* Organize alphabetically (#123)
303
304## 4.8.0 (December 23, 2016)
305
306### Enhancements
307
308* Support MemberExpression for additionalTestFunctions (#114)
309* Make no-mocha-arrows rule fixable (#112)
310
311### Bug Fixes
312
313* Fix no-mocha-arrow fixer (#118)
314
315### Build-Related
316
317* Add node 7 as travis build environment (#115)
318
319### Documentation
320
321* Fix rule name in CHANGELOG to match actual rule (#111)
322
323## 4.7.0 (October 12, 2016)
324
325### Features
326
327* Add no-nested-tests rule (#109)
328
329## 4.6.0 (October 3, 2016)
330
331### Documentation
332
333* Adds rule name to title for `valid-suite-description` documentation. (#107)
334* Adds rule name to title for `valid-test-description` documentation. (#106)
335
336### Features
337
338* Add 'max-top-level-suites' rule (#103) (#105)
339
340## 4.5.1 (August 30, 2016)
341
342### Bug Fixes
343
344* Fix crash in no-identical-title (fixes #98) (#99)
345
346## 4.5.0 (August 29, 2016)
347
348### Features
349
350* Add `no-identical-title` rule (fixes #33) (#97)
351
352## 4.4.0 (August 24, 2016)
353
354### Features
355
356* Add `no-hooks-for-single-case` rule (fixes #44) (#95)
357* Add rule `no-return-and-callback` (fixes #88) (#94)
358* Add `no-top-level-hooks` rule (fixes #37) (#87)
359
360### Documentation
361
362* Fix title in `no-sibling-hooks` documentation file (#92)
363
364### Dependency Upgrades
365
366* Update ramda to version 0.22.1 🚀 (#93)
367
368### Build-Related
369
370* Add editorconfig file (#91)
371
372## 4.3.0 (August 1, 2016)
373
374### Dependency Upgrades
375
376* Update mocha to version 3.0.0 🚀 (#86)
377
378### Features
379
380* Add rule `no-sibling-hooks` (fixes #82) (#85)
381* Add rule `no-hooks` (fixes #39) (#84)
382
383## 4.2.0 (July 26, 2016)
384
385### Features
386
387* Allow custom test functions (#81)
388
389## 4.1.0 (July 22, 2016)
390
391### Features
392
393* no-mocha-arrows: New rule (#78)
394
395## 4.0.0 (July 4, 2016)
396
397### Features
398
399* feat(rules): add 'valid-suite-description' rule (#74)
400* feat(rules): add 'valid-test-description' rule (#68)
401
402### Enhancements
403
404* Add recommended config (#72)
405
406### Dependency Upgrades
407
408* Update eslint to version 3.0.0 🚀 (#70)
409
410### Breaking Changes
411
412* Drop support old node versions (#71)
413
414### Documentation
415
416* Remove fixable from no-exclusive on README (#73)
417* [README] Use a more explicit config (#65)
418* update to docs to match removed autofix (#64)
419
420## 3.0.0 (June 2, 2016)
421
422### Breaking Changes
423
424* Remove autofix on no-exclusive-tests rule. (#63)
425
426## 2.2.0 (April 14, 2016)
427
428### Features
429
430* Add rule no-pending-tests (#59)
431
432## 2.1.0 (April 11, 2016)
433
434### Bug Fixes
435
436* Support specify alias (#58)
437
438### Dependency Upgrades
439
440* Update ramda to version 0.21.0 🚀 (#56)
441* Update ramda to version 0.20.0 🚀 (#53)
442
443### Features
444
445* Add rule no-skipped-tests (#55)
446
447## 2.0.0 (February 13, 2016)
448
449### Breaking Changes
450
451* Update to eslint 2.0.0 (#49)
452
453## 1.1.0 (November 13, 2015)
454
455### Features
456
457* Implement new rule no-global-tests (#46)
458
459### Enhancements
460
461* Replace lodash with ramda (#45)
462
463## 1.0.0 (September 17, 2015)
464
465### Enhancements
466
467* Implement autofix for no-exclusive-tests (#34)
468* Improve detection if done callback is handled (#23)
469* Add integration tests (#30)
470* Instrumment all sources for coverage (#29)
471
472### Build-Related
473
474* Add node 4 to travis-ci build (#42)
475
476### Dependency Upgrades
477
478* Update devDependencies (#43)
479* Update eslint (#31)
480
481### Documentation
482
483* Add NPM Downloads badge (#41)
484* Badges in README.md should only show master status (#40)
485
486## 0.5.1 (August 20, 2015)
487
488### Bug Fixes
489
490* add new rule to index.js and change tests to keep that from happening (#28)
491
492## 0.5.0 (August 19, 2015)
493
494### Features
495
496* Add no-synchronous-tests rule (#26)
497
498### Dependency Upgrades
499
500* ESLint 1.x compatibility (#25)
501* Update dependencies (#22)
502
503
504## 0.4.0 (June 26, 2015)
505
506### Enhancements
507
508* add context.only to no-exclusive-tests rule (#21)
509
510
511## 0.3.0 (June 23, 2015)
512
513### Features
514
515* Add new rule handle-done-callback (#15)
516
517### Build-Related
518
519* Refactor package.json scripts (#17)
520* Disable sudo on travis-ci (#10)
521* Run travis build on node 0.12 and iojs (#11)
522* Ignore log files and .idea folder (#9)
523* Add changelog (#8)
524
525### Documentation
526
527* Fix links to mocha website (#16)
528* Add install documentation to README (#14)
529
530### Dependency Upgrades
531
532* Update dependencies (#18)
533* Update pr-log (#13)
534* Update eslint (#12)
535* Update dev dependencies (#7)
536
537
538## 0.2.2 (October 25, 2014)
539
540### Bug Fixes
541
542* Allow all ESLint versions >= 0.8.0
543
544## 0.2.1 (October 18, 2014)
545
546### Build-Related
547
548* Add recommended keywords to package.json
549
550## 0.2.0 (September 20, 2014)
551
552### Enhancements
553
554* Support mochas tdd interface (fixes #4)
555
556### Build-Related
557
558* Allow minor version updates for eslint
559
560### Documentation
561
562* Docs: remove unnecessary backtick
563
564### Dependency Upgrades
565
566* Update devDependencies.
567
568
569## 0.1.1 (September 6, 2014)
570
571### Build-Related
572
573* Add .npmignore
574
575## 0.1.0 (September 6, 2014)
576
577Initial release