We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_*
1 parent 0237e3f commit 3a2f364Copy full SHA for 3a2f364
rules/param-names.js
@@ -20,8 +20,8 @@ module.exports = {
20
}
21
22
if (
23
- params[0].name !== 'resolve' ||
24
- (params[1] && params[1].name !== 'reject')
+ (params[0].name !== 'resolve' && params[0].name !== '_resolve') ||
+ (params[1] && params[1].name !== 'reject' && params[1].name !== '_reject')
25
) {
26
context.report({
27
node,
0 commit comments