MCPcopy Create free account
hub / github.com/vuetifyjs/vuetify / isCustomComponent

Function isCustomComponent

scripts/rules/no-render-string-reference.js:21–25  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

19}
20
21function isCustomComponent (node) {
22 return node.arguments[0] &&
23 RegExp('-').test(node.arguments[0].value) &&
24 !allowedStrings.includes(node.arguments[0].value)
25}
26
27export default {
28 create (context) {

Callers 1

CallExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected