Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
9
node_modules/eslint/lib/rules/no-implicit-globals.js
generated
vendored
9
node_modules/eslint/lib/rules/no-implicit-globals.js
generated
vendored
|
|
@ -9,13 +9,13 @@
|
|||
// Rule Definition
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/** @type {import('../shared/types').Rule} */
|
||||
module.exports = {
|
||||
meta: {
|
||||
type: "suggestion",
|
||||
|
||||
docs: {
|
||||
description: "disallow declarations in the global scope",
|
||||
category: "Best Practices",
|
||||
description: "Disallow declarations in the global scope",
|
||||
recommended: false,
|
||||
url: "https://eslint.org/docs/rules/no-implicit-globals"
|
||||
},
|
||||
|
|
@ -77,6 +77,11 @@ module.exports = {
|
|||
return;
|
||||
}
|
||||
|
||||
// Variables exported by "exported" block comments
|
||||
if (variable.eslintExported) {
|
||||
return;
|
||||
}
|
||||
|
||||
variable.defs.forEach(def => {
|
||||
const defNode = def.node;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue