chore: update ant-design dependencies and add new icon types

This commit is contained in:
Luiz Costa committed 2025-11-18 09:39:51 -03:00
1 parent 775e562fe9
commit 5c0094d74e
22648 files changed
+2140248 -29

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
/**
* @fileoverview Rule to flag statements with function invocation preceded by
* "new" and not part of assignment
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
/** @type {import('../types').Rule.RuleModule} */
module.exports = {
meta: {
type: "suggestion",
docs: {
description:
"Disallow `new` operators outside of assignments or comparisons",
recommended: false,
url: "https://eslint.org/docs/latest/rules/no-new",
},
schema: [],
messages: {
noNewStatement: "Do not use 'new' for side effects.",
},
},
create(context) {
return {
"ExpressionStatement > NewExpression"(node) {
context.report({
node: node.parent,
messageId: "noNewStatement",
});
},
};
},
};