MCPcopy
hub / github.com/appsmithorg/appsmith / create

Function create

app/client/packages/eslint-plugin/src/object-keys/rule.ts:17–35  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

15 },
16 },
17 create(context) {
18 return {
19 CallExpression(node) {
20 // Check if the callee is Object.keys
21 if (
22 node.callee.type === "MemberExpression" &&
23 node.callee.object.type === "Identifier" &&
24 node.callee.object.name === "Object" &&
25 node.callee.property.type === "Identifier" &&
26 node.callee.property.name === "keys"
27 ) {
28 context.report({
29 node,
30 messageId: "useObjectKeys",
31 });
32 }
33 },
34 };
35 },
36};

Callers 15

triggerReducer.tsFile · 0.50
index.tsFile · 0.50
updateConfigFunction · 0.50
ButtonTabControlClass · 0.50
createImmerReducerFunction · 0.50
useActionsFunction · 0.50
useWidgetsFunction · 0.50
usePageIdsFunction · 0.50

Calls

no outgoing calls