Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
4
node_modules/eslint/lib/rules/prefer-reflect.js
generated
vendored
4
node_modules/eslint/lib/rules/prefer-reflect.js
generated
vendored
|
|
@ -105,10 +105,10 @@ module.exports = {
|
|||
CallExpression(node) {
|
||||
const methodName = (node.callee.property || {}).name;
|
||||
const isReflectCall = (node.callee.object || {}).name === "Reflect";
|
||||
const hasReflectSubsitute = Object.prototype.hasOwnProperty.call(reflectSubstitutes, methodName);
|
||||
const hasReflectSubstitute = Object.prototype.hasOwnProperty.call(reflectSubstitutes, methodName);
|
||||
const userConfiguredException = exceptions.indexOf(methodName) !== -1;
|
||||
|
||||
if (hasReflectSubsitute && !isReflectCall && !userConfiguredException) {
|
||||
if (hasReflectSubstitute && !isReflectCall && !userConfiguredException) {
|
||||
report(node, existingNames[methodName], reflectSubstitutes[methodName]);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue