You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

556 regels
14 KiB

3 jaren geleden
  1. ## 8.0.0 (August 6, 2020)
  2. ### Breaking Changes
  3. * Consistently use shared settings in all rules ([#262](https://github.com/lo1tuma/eslint-plugin-mocha/pull/262))
  4. * remove autofix from no-skipped-tests rule fix ([#258](https://github.com/lo1tuma/eslint-plugin-mocha/pull/258))
  5. ### Features
  6. * New rule no-exports ([#263](https://github.com/lo1tuma/eslint-plugin-mocha/pull/263))
  7. ### Enhancements
  8. * New option `ignoreSkipped` for `handle-done-callback` rule ([#260](https://github.com/lo1tuma/eslint-plugin-mocha/pull/260))
  9. ### Documentation
  10. * Add meta.docs.description to all rules ([#257](https://github.com/lo1tuma/eslint-plugin-mocha/pull/257))
  11. ### Dependency Upgrades
  12. * Update dependencies ([#259](https://github.com/lo1tuma/eslint-plugin-mocha/pull/259))
  13. ### Code Refactoring
  14. * Use includes instead of indexOf ([#261](https://github.com/lo1tuma/eslint-plugin-mocha/pull/261))
  15. ## 7.0.1 (May 30, 2020)
  16. ### Bug Fixes
  17. * Fix no-setup-in-describe to not flag describe.skip() ([#256](https://github.com/lo1tuma/eslint-plugin-mocha/pull/256))
  18. * Fix max-top-level-suites to work with ES modules ([#255](https://github.com/lo1tuma/eslint-plugin-mocha/pull/255))
  19. * Support comments in arrow functions when fixing ([#253](https://github.com/lo1tuma/eslint-plugin-mocha/pull/253))
  20. ## 7.0.0 (May 13, 2020)
  21. ### Breaking Changes
  22. * Drop support for ESLint < v7 and Node.js < v10 ([#247](https://github.com/lo1tuma/eslint-plugin-mocha/pull/247))
  23. ### Enhancements
  24. * Add `meta.type` and missing `fixable: 'code'` ([#245](https://github.com/lo1tuma/eslint-plugin-mocha/pull/245))
  25. ### Dependency Upgrades
  26. * Updates of devDependencies ([#246](https://github.com/lo1tuma/eslint-plugin-mocha/pull/246))
  27. ## 6.3.0 (February 19, 2020)
  28. ### Bug Fixes
  29. * no-hooks-for-single-case: fix false postive in nested suites ([#238](https://github.com/lo1tuma/eslint-plugin-mocha/pull/238))
  30. * Fix max-top-level-suites to ignore generated suites ([#239](https://github.com/lo1tuma/eslint-plugin-mocha/pull/239))
  31. * Check static template strings in valid-test-description and valid-suite-description ([#237](https://github.com/lo1tuma/eslint-plugin-mocha/pull/237))
  32. ### Enhancements
  33. * no-hooks: add option to allow certain kind of hooks ([#236](https://github.com/lo1tuma/eslint-plugin-mocha/pull/236))
  34. * Add schemas for options (and remove for files which are using settings) ([#234](https://github.com/lo1tuma/eslint-plugin-mocha/pull/234))
  35. * Add `u` flag in RegExp for `valid-test-description` and `valid-suite-description` ([#232](https://github.com/lo1tuma/eslint-plugin-mocha/pull/232))
  36. * Add `fixable` property to fixable rules (and mention in docs) ([#228](https://github.com/lo1tuma/eslint-plugin-mocha/pull/228))
  37. * add plugin to recommended config ([#226](https://github.com/lo1tuma/eslint-plugin-mocha/pull/226))
  38. ### Documentation
  39. * Indicate whether rule is recommended ([#229](https://github.com/lo1tuma/eslint-plugin-mocha/pull/229))
  40. * "Options" heading in doc files (and consistent level 2 heading) ([#233](https://github.com/lo1tuma/eslint-plugin-mocha/pull/233))
  41. * Doc syntax issue ([#231](https://github.com/lo1tuma/eslint-plugin-mocha/pull/231))
  42. ### Code Refactoring
  43. * Nondeprecated rule format ([#235](https://github.com/lo1tuma/eslint-plugin-mocha/pull/235))
  44. * Alphabetize rule lists ([#227](https://github.com/lo1tuma/eslint-plugin-mocha/pull/227))
  45. ### Build-Related
  46. * - npm: Add package-lock.json ([#230](https://github.com/lo1tuma/eslint-plugin-mocha/pull/230))
  47. * ✉️ Send a webhook to Coveralls when the build completes ([#222](https://github.com/lo1tuma/eslint-plugin-mocha/pull/222))
  48. ## 6.2.2 (November 22, 2019)
  49. ### Bug Fixes
  50. * Support TDD interface in no-setup-in-describe ([#220](https://github.com/lo1tuma/eslint-plugin-mocha/pull/220))
  51. ### Build-Related
  52. * 🚀 Use GitHub Actions instead of Travis ([#221](https://github.com/lo1tuma/eslint-plugin-mocha/pull/221))
  53. ## 6.2.1 (October 28, 2019)
  54. ### Bug Fixes
  55. * Fix no-setup-in-describe to allow mocha config calls ([#215](https://github.com/lo1tuma/eslint-plugin-mocha/pull/215))
  56. * Relax no-synchronous-tests to allow non literals from concise arrows ([#216](https://github.com/lo1tuma/eslint-plugin-mocha/pull/216))
  57. ### Documentation
  58. * Minor documentation tweaks ([#217](https://github.com/lo1tuma/eslint-plugin-mocha/pull/217))
  59. ### Dependency Upgrades
  60. * Update devDependencies ([#218](https://github.com/lo1tuma/eslint-plugin-mocha/pull/218))
  61. ## 6.2.0 (October 14, 2019)
  62. ### Enhancements
  63. * Startup Performance Optimization ([#214](https://github.com/lo1tuma/eslint-plugin-mocha/pull/214))
  64. ## 6.1.1 (September 11, 2019)
  65. ### Bug Fixes
  66. * Fix no-setup-in-describe to allow Mocha suite config ([#209](https://github.com/lo1tuma/eslint-plugin-mocha/pull/209))
  67. ## 6.1.0 (August 22, 2019)
  68. ### Enhancements
  69. * Add custom message for valid-suite-description ([#207](https://github.com/lo1tuma/eslint-plugin-mocha/pull/207))
  70. * Add custom message for valid-test-description rule ([#206](https://github.com/lo1tuma/eslint-plugin-mocha/pull/206))
  71. ## 6.0.0 (July 17, 2019)
  72. ### Breaking Changes
  73. * Revamped recommended ruleset ([#200](https://github.com/lo1tuma/eslint-plugin-mocha/pull/200))
  74. * Drop nodejs 6 support ([#197](https://github.com/lo1tuma/eslint-plugin-mocha/pull/197))
  75. ### Bug Fixes
  76. * Fix no-setup-in-describe to correctly detect describe calls ([#196](https://github.com/lo1tuma/eslint-plugin-mocha/pull/196))
  77. * Fix no-setup-in-describe to work with arrow functions ([#195](https://github.com/lo1tuma/eslint-plugin-mocha/pull/195))
  78. ### Features
  79. * Implement no-return-from-async rule ([#190](https://github.com/lo1tuma/eslint-plugin-mocha/pull/190))
  80. ### Dependency Upgrades
  81. * Update dev dependencies ([#199](https://github.com/lo1tuma/eslint-plugin-mocha/pull/199))
  82. ### Build-Related
  83. * Add nodejs to travis build environments ([#198](https://github.com/lo1tuma/eslint-plugin-mocha/pull/198))
  84. ## 5.3.0 (February 13, 2019)
  85. ### Features
  86. * Implement no-async-describe rule ([#188](https://github.com/lo1tuma/eslint-plugin-mocha/pull/188))
  87. ## 5.2.1 (January 8, 2019)
  88. ### Bug Fixes
  89. * Remove invalid test-cases and unreachable code from prefer-arrow-callback ([#186](https://github.com/lo1tuma/eslint-plugin-mocha/pull/186))
  90. * Fix invalid syntax in test case ([#182](https://github.com/lo1tuma/eslint-plugin-mocha/pull/182))
  91. ### Documentation
  92. * Fixing typo ([#184](https://github.com/lo1tuma/eslint-plugin-mocha/pull/184))
  93. * Replace `warning` with `warn` ([#181](https://github.com/lo1tuma/eslint-plugin-mocha/pull/181))
  94. ### Dependency Upgrades
  95. * Update dependencies ([#187](https://github.com/lo1tuma/eslint-plugin-mocha/pull/187))
  96. * Update eslint-plugin-node to the latest version 🚀 ([#173](https://github.com/lo1tuma/eslint-plugin-mocha/pull/173))
  97. ## 5.2.0 (August 13, 2018)
  98. ### Enhancements
  99. * Prohibit tests in beforeEach etc. hook calls ([#174](https://github.com/lo1tuma/eslint-plugin-mocha/pull/174))
  100. ## 5.1.0 (July 6, 2018)
  101. ### Bug Fixes
  102. * Issue #166: No setup in describe hooks ([#167](https://github.com/lo1tuma/eslint-plugin-mocha/pull/167))
  103. ### Features
  104. * Adds mocha-aware prefer-arrow-callback rule ([#163](https://github.com/lo1tuma/eslint-plugin-mocha/pull/163))
  105. ### Dependency Upgrades
  106. * Update eslint-config-holidaycheck to version 0.13.1 ([#170](https://github.com/lo1tuma/eslint-plugin-mocha/pull/170))
  107. * Update eslint to version 5.0.1 ([#169](https://github.com/lo1tuma/eslint-plugin-mocha/pull/169))
  108. * Update nyc to version 12.0.2 ([#168](https://github.com/lo1tuma/eslint-plugin-mocha/pull/168))
  109. ### Build-Related
  110. * Add node 10 build environment ([#171](https://github.com/lo1tuma/eslint-plugin-mocha/pull/171))
  111. ## 5.0.0 (March 24, 2018)
  112. ### Breaking Changes
  113. * Remove support for ESLint versions < 4.0.0 ([#155](https://github.com/lo1tuma/eslint-plugin-mocha/pull/155))
  114. * Remove support for nodejs 4, 5 and 7 ([#154](https://github.com/lo1tuma/eslint-plugin-mocha/pull/154))
  115. ### Dependency Upgrades
  116. * Update pr-log to the latest version 🚀 ([#159](https://github.com/lo1tuma/eslint-plugin-mocha/pull/159))
  117. * Update chai to version 4.1.2 ([#151](https://github.com/lo1tuma/eslint-plugin-mocha/pull/151))
  118. ### Code Refactoring
  119. * Use new language features ([#156](https://github.com/lo1tuma/eslint-plugin-mocha/pull/156))
  120. ### Build-Related
  121. * Use nyc instead of istanbul ([#153](https://github.com/lo1tuma/eslint-plugin-mocha/pull/153))
  122. * Whitelist files instead of using .npmignore ([#152](https://github.com/lo1tuma/eslint-plugin-mocha/pull/152))
  123. ## 4.12.1 (March 3, 2018)
  124. ### Bug Fixes
  125. * Fix: skip template strings in valid-test-description and valid-suite-description
  126. ## 4.12.0 (March 2, 2018)
  127. ### Features
  128. * Adds rule "no setup in describe" (#147)
  129. ### Dependency Upgrades
  130. * Update coveralls to the latest version 🚀 (#142)
  131. * chore(package): update mocha to version 5.0.1 (#150)
  132. * Update ramda to the latest version 🚀 (#144)
  133. ### Bug Fixes
  134. * Fix complexity problems (#149)
  135. ## 4.11.0 (June 19, 2017)
  136. ### Enhancements
  137. * Added support for async functions in no-synchronous-tests (#138)
  138. ## 4.10.1 (June 12, 2017)
  139. ### Bug Fixes
  140. * don't drop support for eslint 3.x (#137)
  141. ## 4.10.0 (June 12, 2017)
  142. ### Build-Related
  143. * Add node 8 to build environments (#135)
  144. ### Enhancements
  145. * Support ESLint 4.x (#134)
  146. ### Dependency Upgrades
  147. * Update ramda to the latest version 🚀 (#130)
  148. * Update pr-log to version 2.0.0 🚀 (#127)
  149. ## 4.9.0 (March 17, 2017)
  150. ### Dependency Upgrades
  151. * Update ramda to version 0.23.0 🚀 (#121)
  152. ### Enhancements
  153. * Add settings to support additional suite function names (#126)
  154. ### Documentation
  155. * Organize alphabetically (#123)
  156. ## 4.8.0 (December 23, 2016)
  157. ### Enhancements
  158. * Support MemberExpression for additionalTestFunctions (#114)
  159. * Make no-mocha-arrows rule fixable (#112)
  160. ### Bug Fixes
  161. * Fix no-mocha-arrow fixer (#118)
  162. ### Build-Related
  163. * Add node 7 as travis build environment (#115)
  164. ### Documentation
  165. * Fix rule name in CHANGELOG to match actual rule (#111)
  166. ## 4.7.0 (October 12, 2016)
  167. ### Features
  168. * Add no-nested-tests rule (#109)
  169. ## 4.6.0 (October 3, 2016)
  170. ### Documentation
  171. * Adds rule name to title for `valid-suite-description` documentation. (#107)
  172. * Adds rule name to title for `valid-test-description` documentation. (#106)
  173. ### Features
  174. * Add 'max-top-level-suites' rule (#103) (#105)
  175. ## 4.5.1 (August 30, 2016)
  176. ### Bug Fixes
  177. * Fix crash in no-identical-title (fixes #98) (#99)
  178. ## 4.5.0 (August 29, 2016)
  179. ### Features
  180. * Add `no-identical-title` rule (fixes #33) (#97)
  181. ## 4.4.0 (August 24, 2016)
  182. ### Features
  183. * Add `no-hooks-for-single-case` rule (fixes #44) (#95)
  184. * Add rule `no-return-and-callback` (fixes #88) (#94)
  185. * Add `no-top-level-hooks` rule (fixes #37) (#87)
  186. ### Documentation
  187. * Fix title in `no-sibling-hooks` documentation file (#92)
  188. ### Dependency Upgrades
  189. * Update ramda to version 0.22.1 🚀 (#93)
  190. ### Build-Related
  191. * Add editorconfig file (#91)
  192. ## 4.3.0 (August 1, 2016)
  193. ### Dependency Upgrades
  194. * Update mocha to version 3.0.0 🚀 (#86)
  195. ### Features
  196. * Add rule `no-sibling-hooks` (fixes #82) (#85)
  197. * Add rule `no-hooks` (fixes #39) (#84)
  198. ## 4.2.0 (July 26, 2016)
  199. ### Features
  200. * Allow custom test functions (#81)
  201. ## 4.1.0 (July 22, 2016)
  202. ### Features
  203. * no-mocha-arrows: New rule (#78)
  204. ## 4.0.0 (July 4, 2016)
  205. ### Features
  206. * feat(rules): add 'valid-suite-description' rule (#74)
  207. * feat(rules): add 'valid-test-description' rule (#68)
  208. ### Enhancements
  209. * Add recommended config (#72)
  210. ### Dependency Upgrades
  211. * Update eslint to version 3.0.0 🚀 (#70)
  212. ### Breaking Changes
  213. * Drop support old node versions (#71)
  214. ### Documentation
  215. * Remove fixable from no-exclusive on README (#73)
  216. * [README] Use a more explicit config (#65)
  217. * update to docs to match removed autofix (#64)
  218. ## 3.0.0 (June 2, 2016)
  219. ### Breaking Changes
  220. * Remove autofix on no-exclusive-tests rule. (#63)
  221. ## 2.2.0 (April 14, 2016)
  222. ### Features
  223. * Add rule no-pending-tests (#59)
  224. ## 2.1.0 (April 11, 2016)
  225. ### Bug Fixes
  226. * Support specify alias (#58)
  227. ### Dependency Upgrades
  228. * Update ramda to version 0.21.0 🚀 (#56)
  229. * Update ramda to version 0.20.0 🚀 (#53)
  230. ### Features
  231. * Add rule no-skipped-tests (#55)
  232. ## 2.0.0 (February 13, 2016)
  233. ### Breaking Changes
  234. * Update to eslint 2.0.0 (#49)
  235. ## 1.1.0 (November 13, 2015)
  236. ### Features
  237. * Implement new rule no-global-tests (#46)
  238. ### Enhancements
  239. * Replace lodash with ramda (#45)
  240. ## 1.0.0 (September 17, 2015)
  241. ### Enhancements
  242. * Implement autofix for no-exclusive-tests (#34)
  243. * Improve detection if done callback is handled (#23)
  244. * Add integration tests (#30)
  245. * Instrumment all sources for coverage (#29)
  246. ### Build-Related
  247. * Add node 4 to travis-ci build (#42)
  248. ### Dependency Upgrades
  249. * Update devDependencies (#43)
  250. * Update eslint (#31)
  251. ### Documentation
  252. * Add NPM Downloads badge (#41)
  253. * Badges in README.md should only show master status (#40)
  254. ## 0.5.1 (August 20, 2015)
  255. ### Bug Fixes
  256. * add new rule to index.js and change tests to keep that from happening (#28)
  257. ## 0.5.0 (August 19, 2015)
  258. ### Features
  259. * Add no-synchronous-tests rule (#26)
  260. ### Dependency Upgrades
  261. * ESLint 1.x compatibility (#25)
  262. * Update dependencies (#22)
  263. ## 0.4.0 (June 26, 2015)
  264. ### Enhancements
  265. * add context.only to no-exclusive-tests rule (#21)
  266. ## 0.3.0 (June 23, 2015)
  267. ### Features
  268. * Add new rule handle-done-callback (#15)
  269. ### Build-Related
  270. * Refactor package.json scripts (#17)
  271. * Disable sudo on travis-ci (#10)
  272. * Run travis build on node 0.12 and iojs (#11)
  273. * Ignore log files and .idea folder (#9)
  274. * Add changelog (#8)
  275. ### Documentation
  276. * Fix links to mocha website (#16)
  277. * Add install documentation to README (#14)
  278. ### Dependency Upgrades
  279. * Update dependencies (#18)
  280. * Update pr-log (#13)
  281. * Update eslint (#12)
  282. * Update dev dependencies (#7)
  283. ## 0.2.2 (October 25, 2014)
  284. ### Bug Fixes
  285. * Allow all ESLint versions >= 0.8.0
  286. ## 0.2.1 (October 18, 2014)
  287. ### Build-Related
  288. * Add recommended keywords to package.json
  289. ## 0.2.0 (September 20, 2014)
  290. ### Enhancements
  291. * Support mochas tdd interface (fixes #4)
  292. ### Build-Related
  293. * Allow minor version updates for eslint
  294. ### Documentation
  295. * Docs: remove unnecessary backtick
  296. ### Dependency Upgrades
  297. * Update devDependencies.
  298. ## 0.1.1 (September 6, 2014)
  299. ### Build-Related
  300. * Add .npmignore
  301. ## 0.1.0 (September 6, 2014)
  302. Initial release