MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / MemberExpression

Function MemberExpression

oxlint-plugin-drizzle.js:119–132  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

117 const drizzleObjectName = (context.options[0] && context.options[0].drizzleObjectName) || [];
118 return {
119 MemberExpression(node) {
120 if (
121 node.property.type === 'Identifier' &&
122 node.property.name === method &&
123 isDrizzleObj(node, drizzleObjectName) &&
124 !hasWhereInChain(node)
125 ) {
126 context.report({
127 node,
128 messageId,
129 data: { drizzleObjName: resolveMemberExpressionPath(node) },
130 });
131 }
132 },
133 };
134 },
135 };

Callers

nothing calls this directly

Calls 3

isDrizzleObjFunction · 0.85
hasWhereInChainFunction · 0.85

Tested by

no test coverage detected