We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
avoid-prototype-pollution
1 parent 254358c commit cc819b4Copy full SHA for cc819b4
tools/eslint-rules/avoid-prototype-pollution.js
@@ -168,15 +168,15 @@ module.exports = {
168
[CallExpression('PromisePrototypeCatch')](node) {
169
context.report({
170
node,
171
- message: '%Promise.prototype.catch% look up the `then` property of ' +
+ message: '%Promise.prototype.catch% looks up the `then` property of ' +
172
'the `this` argument, use PromisePrototypeThen instead',
173
});
174
},
175
176
[CallExpression('PromisePrototypeFinally')](node) {
177
178
179
- message: '%Promise.prototype.finally% look up the `then` property of ' +
+ message: '%Promise.prototype.finally% looks up the `then` property of ' +
180
'the `this` argument, use SafePromisePrototypeFinally or ' +
181
'try/finally instead',
182
0 commit comments