]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/lib/rules/no-shadow.js
import 8.3.0 source
[pve-eslint.git] / eslint / lib / rules / no-shadow.js
index a0b1db50c0b5f24c3279a476ba6295aaf7053c8f..4ec357620b6436f46533cdee788e3ecc54ed97af 100644 (file)
@@ -21,7 +21,6 @@ module.exports = {
 
         docs: {
             description: "disallow variable declarations from shadowing variables declared in the outer scope",
-            category: "Variables",
             recommended: false,
             url: "https://eslint.org/docs/rules/no-shadow"
         },
@@ -59,7 +58,7 @@ module.exports = {
 
         /**
          * Check if variable name is allowed.
-         * @param  {ASTNode} variable The variable to check.
+         * @param {ASTNode} variable The variable to check.
          * @returns {boolean} Whether or not the variable name is allowed.
          */
         function isAllowed(variable) {