UNPKG

3.21 kBMarkdownView Raw
1## 4.2.1
2
3- Added more use cases to `no-return-wrap`
4
5## 4.0.1
6
7- Remove `promise/param-names` fixer
8 ([#146](https://github.com/xjamundx/eslint-plugin-promise/pull/146))
9
10## 4.0.0
11
12- Added fixer for `promise/no-new-statics` rule
13 ([#133](https://github.com/xjamundx/eslint-plugin-promise/pull/133))
14- Support ESLint v5
15 ([#144](https://github.com/xjamundx/eslint-plugin-promise/pull/144))
16
17This is a breaking change that drops support for Node v4. In order to use ESLint
18v5 and eslint-plugin-promise v4, you must use Node >=6.
19
20## 3.8.0
21
22- Removed `promise/avoid-new` from recommended configuration
23 ([#119](https://github.com/xjamundx/eslint-plugin-promise/pull/119))
24- Ignored event listener callbacks in `promise/prefer-await-to-callbacks`
25 ([#117](https://github.com/xjamundx/eslint-plugin-promise/pull/117))
26- Ignored top-level awaits in `promise/prefer-await-to-then`
27 ([#126](https://github.com/xjamundx/eslint-plugin-promise/pull/126))
28- Added docs for `promise/no-nesting` and `promise/prefer-await-to-then`
29 ([#120](https://github.com/xjamundx/eslint-plugin-promise/pull/120))
30 ([#121](https://github.com/xjamundx/eslint-plugin-promise/pull/121))
31
32## 3.7.0
33
34- Added `promise/valid-params` rule
35 ([#85](https://github.com/xjamundx/eslint-plugin-promise/pull/85))
36- Added `promise/no-new-statics` rule
37 ([#82](https://github.com/xjamundx/eslint-plugin-promise/pull/82))
38- Added fixer for `promise/param-names` rule
39 ([#99](https://github.com/xjamundx/eslint-plugin-promise/pull/99))
40- Added rule documentation to each rule
41 ([#91](https://github.com/xjamundx/eslint-plugin-promise/pull/91))
42
43## 3.6.0
44
45- Added `['catch']` support in `catch-or-return`
46- Added `no-return-in-finally` rule
47- Fixed some formatting in the docs
48- Added `allowReject` option to `no-return-wrap`
49- Added exceptions for `no-callback-in-promise`
50
51## 3.5.0
52
53- Added support for recommended settings using
54 `extends: plugin:promise/recommended`
55
56## 3.4.2
57
58- Fixed always return false positive with ternary (#31)
59
60## 3.4.1
61
62- fixed #49
63
64## 3.4.0
65
66- new rule: avoid-new
67- new rule: no-promise-in-callback
68- new rule: no-callback-in-promise
69- new rule: no-nesting
70
71## 3.3.2
72
73- Removed eslint from peerDeps
74
75## 3.3.1
76
77- Updated engines with proper stuff
78- Fixed bug for unreachable code
79
80## 3.3.0
81
82- Rule: `prefer-async-to-callbacks` added
83- Rule: `prefer-async-to-then` added
84
85## 3.2.1
86
87- Fix: `no-return-wrap` rule missing from index.js
88
89## 3.2.0
90
91- Added `no-return-wrap` rule
92
93## 3.1.0
94
95- Added multiple terminationMethods
96
97## 3.0.1
98
99- Removed deprecated `always-catch` rule
100- FIX: always-return error with "fn && fn()"
101
102## 3.0.0
103
104- Updated column and line numbers
105- Added flow analysis for better handling of if statements
106
107## 2.0.1
108
109- Fixed type in docs
110
111## 2.0.0
112
113- ESLint 3.0 Support
114
115## 1.3.2
116
117- Updated tests to run on eslint 2.0
118- Fixed some issues with `no-native` rule
119
120## 1.3.1
121
122- Actually added `no-native` rule
123
124## 1.3.0
125
126- Added `no-native` rule
127
128## 1.2.0
129
130- Allow `throw` in `always-return` rule
131- Added `terminationMethod` option to `catch-or-return` rule
132
133## 1.1.0
134
135- Added `catch-or-return` rule
136
137## 1.0.8
138
139- Fixed crash issues
140
141## 1.0.0 - 1.0.7
142
143- Lots of basic feature updates and doc changes