-
-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
431887d
commit dddc991
Showing
5 changed files
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,8 @@ module.exports = { | |
'no-use-extend-native', | ||
'ava', | ||
'unicorn', | ||
'promise', | ||
// Disabled as the plugin doesn't support ESLint 8 yet. | ||
// 'promise', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
sindresorhus
Author
Member
|
||
'import', | ||
'node', | ||
'eslint-comments', | ||
|
@@ -173,17 +174,19 @@ module.exports = { | |
// TODO: Temporarily disabled as the rule is buggy. | ||
'function-call-argument-newline': 'off', | ||
|
||
'promise/param-names': 'error', | ||
'promise/no-return-wrap': [ | ||
'error', | ||
{ | ||
allowReject: true, | ||
}, | ||
], | ||
'promise/no-new-statics': 'error', | ||
'promise/no-return-in-finally': 'error', | ||
'promise/valid-params': 'error', | ||
'promise/prefer-await-to-then': 'error', | ||
// Disabled as the plugin doesn't support ESLint 8 yet. | ||
// 'promise/param-names': 'error', | ||
// 'promise/no-return-wrap': [ | ||
// 'error', | ||
// { | ||
// allowReject: true, | ||
// }, | ||
// ], | ||
// 'promise/no-new-statics': 'error', | ||
// 'promise/no-return-in-finally': 'error', | ||
// 'promise/valid-params': 'error', | ||
// 'promise/prefer-await-to-then': 'error', | ||
|
||
'import/default': 'error', | ||
'import/export': 'error', | ||
'import/extensions': [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It does now eslint-community/eslint-plugin-promise#219