Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
function
isCustomComponent (node) {
22
return
node.arguments[0] &&
23
RegExp(
'-'
).test(node.arguments[0].value) &&
24
!allowedStrings.includes(node.arguments[0].value)
25
}
26
27
export
default {
28
create (context) {
Callers
1
CallExpression
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected