Skip to content

Commit 4273f8a

Browse files
committed
Bump eslint-plugin-promise
1 parent 8ac0f3e commit 4273f8a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/plugins.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ module.exports = {
3232
'promise/param-names': 'error',
3333
// Enable this sometime in the future when Node.js has async/await support
3434
// 'promise/prefer-await-to-then': 'error',
35+
'promise/no-return-wrap': ['error', {allowReject: true}],
36+
'promise/no-return-in-finally': 'error',
3537
'import/default': 'error',
3638
'import/export': 'error',
3739
'import/extensions': ['error', {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"eslint-plugin-ava": "^4.2.0",
7979
"eslint-plugin-import": "^2.0.0",
8080
"eslint-plugin-no-use-extend-native": "^0.3.2",
81-
"eslint-plugin-promise": "^3.4.0",
81+
"eslint-plugin-promise": "^3.6.0",
8282
"eslint-plugin-unicorn": "^2.1.0",
8383
"get-stdin": "^5.0.0",
8484
"globby": "^6.0.0",

0 commit comments

Comments
 (0)