项目原始demo,不改动
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Den här utvecklingskatalogen är arkiverad. Du kan se filer och klona katalogen, men inte öppna ärenden eller genomföra push- eller pull-förfrågningar.

CHANGELOG.md 2.6 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. ## 3.8.0
  2. * Removed `promise/avoid-new` from recommended configuration
  3. ([#119](https://github.com/xjamundx/eslint-plugin-promise/pull/119))
  4. * Ignored event listener callbacks in `promise/prefer-await-to-callbacks`
  5. ([#117](https://github.com/xjamundx/eslint-plugin-promise/pull/117))
  6. * Ignored top-level awaits in `promise/prefer-await-to-then`
  7. ([#126](https://github.com/xjamundx/eslint-plugin-promise/pull/126))
  8. * Added docs for `promise/no-nesting` and `promise/prefer-await-to-then`
  9. ([#120](https://github.com/xjamundx/eslint-plugin-promise/pull/120))
  10. ([#121](https://github.com/xjamundx/eslint-plugin-promise/pull/121))
  11. ## 3.7.0
  12. * Added `promise/valid-params` rule
  13. ([#85](https://github.com/xjamundx/eslint-plugin-promise/pull/85))
  14. * Added `promise/no-new-statics` rule
  15. ([#82](https://github.com/xjamundx/eslint-plugin-promise/pull/82))
  16. * Added fixer for `promise/param-names` rule
  17. ([#99](https://github.com/xjamundx/eslint-plugin-promise/pull/99))
  18. * Added rule documentation to each rule
  19. ([#91](https://github.com/xjamundx/eslint-plugin-promise/pull/91))
  20. ## 3.6.0
  21. * Added `['catch']` support in `catch-or-return`
  22. * Added `no-return-in-finally` rule
  23. * Fixed some formatting in the docs
  24. * Added `allowReject` option to `no-return-wrap`
  25. * Added exceptions for `no-callback-in-promise`
  26. ## 3.5.0
  27. * Added support for recommended settings using
  28. `extends: plugin:promise/recommended`
  29. ## 3.4.2
  30. * Fixed always return false positive with ternary (#31)
  31. ## 3.4.1
  32. * fixed #49
  33. ## 3.4.0
  34. * new rule: avoid-new
  35. * new rule: no-promise-in-callback
  36. * new rule: no-callback-in-promise
  37. * new rule: no-nesting
  38. ## 3.3.2
  39. * Removed eslint from peerDeps
  40. ## 3.3.1
  41. * Updated engines with proper stuff
  42. * Fixed bug for unreachable code
  43. ## 3.3.0
  44. * Rule: `prefer-async-to-callbacks` added
  45. * Rule: `prefer-async-to-then` added
  46. ## 3.2.1
  47. * Fix: `no-return-wrap` rule missing from index.js
  48. ## 3.2.0
  49. * Added `no-return-wrap` rule
  50. ## 3.1.0
  51. * Added multiple terminationMethods
  52. ## 3.0.1
  53. * Removed deprecated `always-catch` rule
  54. * FIX: always-return error with "fn && fn()"
  55. ## 3.0.0
  56. * Updated column and line numbers
  57. * Added flow analysis for better handling of if statements
  58. ## 2.0.1
  59. * Fixed type in docs
  60. ## 2.0.0
  61. * ESLint 3.0 Support
  62. ## 1.3.2
  63. * Updated tests to run on eslint 2.0
  64. * Fixed some issues with `no-native` rule
  65. ## 1.3.1
  66. * Actually added `no-native` rule
  67. ## 1.3.0
  68. * Added `no-native` rule
  69. ## 1.2.0
  70. * Allow `throw` in `always-return` rule
  71. * Added `terminationMethod` option to `catch-or-return` rule
  72. ## 1.1.0
  73. * Added `catch-or-return` rule
  74. ## 1.0.8
  75. * Fixed crash issues
  76. ## 1.0.0 - 1.0.7
  77. * Lots of basic feature updates and doc changes