chore: add node_modules dependencies

- Add all npm dependencies for the project

🤖 Generated with [Qoder](https://qoder.com)
This commit is contained in:
yuantao
2026-03-27 15:37:13 +08:00
parent 84bb32d5d4
commit 1b742b91b5
3460 changed files with 1479079 additions and 0 deletions

42
node_modules/eslint/lib/rules/no-delete-var.js generated vendored Normal file
View File

@@ -0,0 +1,42 @@
/**
* @fileoverview Rule to flag when deleting variables
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
/** @type {import('../shared/types').Rule} */
module.exports = {
meta: {
type: "suggestion",
docs: {
description: "Disallow deleting variables",
recommended: true,
url: "https://eslint.org/docs/latest/rules/no-delete-var"
},
schema: [],
messages: {
unexpected: "Variables should not be deleted."
}
},
create(context) {
return {
UnaryExpression(node) {
if (node.operator === "delete" && node.argument.type === "Identifier") {
context.report({ node, messageId: "unexpected" });
}
}
};
}
};