Update checked-in dependencies
This commit is contained in:
parent
4fad06f438
commit
40a500c743
4168 changed files with 298222 additions and 374905 deletions
7
node_modules/eslint/lib/rules/no-implicit-globals.js
generated
vendored
7
node_modules/eslint/lib/rules/no-implicit-globals.js
generated
vendored
|
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
docs: {
|
||||
description: "Disallow declarations in the global scope",
|
||||
recommended: false,
|
||||
url: "https://eslint.org/docs/rules/no-implicit-globals"
|
||||
url: "https://eslint.org/docs/latest/rules/no-implicit-globals"
|
||||
},
|
||||
|
||||
schema: [{
|
||||
|
|
@ -43,6 +43,7 @@ module.exports = {
|
|||
create(context) {
|
||||
|
||||
const checkLexicalBindings = context.options[0] && context.options[0].lexicalBindings === true;
|
||||
const sourceCode = context.sourceCode;
|
||||
|
||||
/**
|
||||
* Reports the node.
|
||||
|
|
@ -62,8 +63,8 @@ module.exports = {
|
|||
}
|
||||
|
||||
return {
|
||||
Program() {
|
||||
const scope = context.getScope();
|
||||
Program(node) {
|
||||
const scope = sourceCode.getScope(node);
|
||||
|
||||
scope.variables.forEach(variable => {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue