MCPcopy Create free account

hub / github.com/vuejs/eslint-plugin-vue / functions

Functions2,001 in github.com/vuejs/eslint-plugin-vue

↓ 3 callersFunctionparse
* Parse a given comment. * @param {RegExp} pattern The RegExp pattern to parse. * @param {string} comment The comment value to parse. * @returns {(
lib/rules/comment-directive.js:35
↓ 3 callersMethodprocessPattern
(node: Pattern, ctx: RefObjectReferenceContext)
lib/utils/ref-object-references.ts:435
↓ 3 callersFunctionprocessSemicolons
* Process semicolons of the given statement node.
lib/utils/indent-common.ts:442
↓ 3 callersFunctionreport
* @param {ESNode} node * @param {string} messageId * @param {string} scopeName
lib/rules/no-setup-props-reactivity-loss.js:105
↓ 3 callersFunctionreport
* @param {ASTNode} node * @param {string} messageId * @param {any} [data]
lib/rules/html-button-has-type.js:74
↓ 3 callersFunctionreport
* @param {ASTNode} node * @param {string} name
lib/rules/no-mutating-props.js:140
↓ 3 callersFunctionverifyMutating
* @param {MemberExpression|Identifier} props * @param {string} name * @param {boolean} isRootProps
lib/rules/no-mutating-props.js:172
↓ 3 callersFunctionverifySource
* * @param {Literal & { value: string }} source * @param { () => boolean } fixable * @param {string[]} names Named bindings imported or
lib/rules/prefer-import-from-vue.js:71
↓ 3 callersFunctionverifyWithTsParser
( code: string, visitor: ScriptSetupVisitor, tsTestFilePath?: string, tsFileCode = '' )
tests/lib/utils/ts-utils/index/utils.ts:18
↓ 2 callersFunctionaddEmitCall
* @param {CallExpression} node *
lib/rules/no-unused-emit-declarations.js:87
↓ 2 callersMethodaddName
(...names: string[])
lib/rules/no-undef-components.ts:29
↓ 2 callersMethodaddReturnValue
* @param {Expression | null} node
lib/rules/no-use-computed-property-like-method.js:256
↓ 2 callersFunctionbuildAllowedPhrase
* @param {object} allowsOpt * @param {boolean} [allowsOpt.scriptSetup] * @param {boolean} [allowsOpt.composition] * @param {boolean} [allowsOpt.com
lib/rules/component-api-style.js:158
↓ 2 callersFunctionbuildVElementMatcher
( selectorValue: string, test: (attrValue: string, selectorValue: string) => boolean )
lib/utils/selector.ts:302
↓ 2 callersFunctioncallVisitor
* @param {string} key * @param {ESNode} node
lib/utils/index.js:1235
↓ 2 callersFunctioncanConvert
( node: Expression | SpreadElement )
lib/rules/component-definition-name-casing.ts:10
↓ 2 callersFunctioncanVerify
( node: Expression | SpreadElement )
lib/rules/no-reserved-component-names.ts:26
↓ 2 callersFunctioncanVerify
( node: Expression | SpreadElement )
lib/rules/match-component-file-name.ts:9
↓ 2 callersFunctioncheckKey
* Check the given element about `v-bind:key` attributes. * @param {RuleContext} context The rule context to report. * @param {VDirective} vFor The a
lib/rules/valid-v-for.js:64
↓ 2 callersFunctioncheckMaxNumberOfProps
* @param {import('../utils').ComponentProp[]} props * @param {CallExpression | Property} node
lib/rules/max-props.js:44
↓ 2 callersFunctioncheckNegatedCondition
* @param {VIfDirective} node
lib/rules/no-negated-v-if-condition.js:124
↓ 2 callersFunctioncheckOrder
* @param {(Property | SpreadElement)[]} propertiesNodes
lib/rules/order-in-components.js:290
↓ 2 callersFunctioncheckProp
(prop, context)
lib/rules/require-typed-object-prop.js:87
↓ 2 callersFunctioncheckPropArrayType
(context, arrayNode)
lib/rules/require-typed-object-prop.js:51
↓ 2 callersFunctioncheckProperty
* @param {ComponentProp} prop
lib/rules/require-prop-types.js:73
↓ 2 callersFunctioncheckProperty
* @param {import('../utils').ComponentProp} prop
lib/rules/prefer-prop-type-boolean-first.js:68
↓ 2 callersFunctioncleanSelectorChildren
* Clean and get the selector child nodes.
lib/utils/selector.ts:83
↓ 2 callersFunctioncollectReferenceIds
* Collect identifier id
lib/rules/no-ref-as-operand.ts:81
↓ 2 callersFunctionconvertName
(node: Literal | TemplateLiteral)
lib/rules/component-definition-name-casing.ts:45
↓ 2 callersFunctiondefineDocumentVisitor
* Register the given visitor to parser services. * If the parser service of `vue-eslint-parser` was not found, * this generates a warning. * * @pa
lib/utils/index.js:2403
↓ 2 callersFunctiondisable
* Disable rules. * @param {RuleContext} context The rule context. * @param {{line:number,column:number}} loc The location information to disable. *
lib/rules/comment-directive.js:96
↓ 2 callersFunctionenable
* Enable rules. * @param {RuleContext} context The rule context. * @param {{line:number,column:number}} loc The location information to enable. * @
lib/rules/comment-directive.js:72
↓ 2 callersFunctionextractExportNames
(m)
tools/update-vue3-export-names.js:29
↓ 2 callersFunctionextractFromIdentifier
* Extract the property references from id.
lib/utils/property-references.ts:426
↓ 2 callersFunctionextractFromObjectPattern
* Extract the property references from ObjectPattern.
lib/utils/property-references.ts:403
↓ 2 callersFunctionextractFromPattern
* Extract the property references from one parameter of the function.
lib/utils/property-references.ts:372
↓ 2 callersFunctionextractRefObjectReferences
( context: RuleContext )
lib/utils/ref-object-references.ts:503
↓ 2 callersFunctionextractTopLevelHTMLElements
* Extracts the top-level elements in document fragment. * @param {VDocumentFragment} documentFragment The document fragment. * @returns {VElement[]}
lib/rules/comment-directive.js:253
↓ 2 callersFunctionextractUsedForPattern
* Extract the use ref names. * @param {Identifier | MemberExpression} refsNode * @returns {void}
lib/rules/no-unused-refs.js:85
↓ 2 callersFunctionextractWithoutCache
()
lib/utils/property-references.ts:274
↓ 2 callersFunctionfixPropInOtherPlaces
( fixer: RuleFixer, propName: string, replaceKeyText: string )
lib/rules/no-restricted-props.ts:117
↓ 2 callersFunctionformatItems
(items, suffix)
tools/lib/utils.js:15
↓ 2 callersFunctiongetBareString
* Gets the bare string from given string
lib/rules/no-bare-strings-in-template.ts:177
↓ 2 callersFunctiongetBeforeElements
(element: VElement)
lib/utils/selector.ts:571
↓ 2 callersFunctiongetClassNames
* @param {string} classList * @returns {string[]}
lib/rules/no-duplicate-class-names.js:117
↓ 2 callersFunctiongetComponentEmitsFromDefine
* Get all emits by looking at all component's properties * @param {ObjectExpression|ArrayExpression} emitsNode Object with emits definition * @retur
lib/utils/index.js:3689
↓ 2 callersFunctiongetComponentPropsFromDefine
* Get all props by looking at all component's properties * @param {ObjectExpression|ArrayExpression} propsNode Object with props definition * @retur
lib/utils/index.js:3628
↓ 2 callersMethodgetFirstTokens
( node: VNODE.HasLocation, options?: eslint.SourceCode.CursorWithCountOptions )
typings/eslint-plugin-vue/util-types/parser-services.ts:94
↓ 2 callersMethodgetFirstTokensBetween
( left: VNODE.HasLocation, right: VNODE.HasLocation, options?: eslint.SourceCode.CursorWithC
typings/eslint-plugin-vue/util-types/parser-services.ts:110
↓ 2 callersFunctiongetIdentifierCallExpression
* Returns a call expression node if the given VOnExpression or BlockStatement consists * of only a single identifier call expression. * e.g. * @c
lib/rules/v-on-handler-style.js:79
↓ 2 callersFunctiongetKeyName
* @param {VAttribute | VDirective} attr
lib/rules/no-useless-template-attributes.js:21
↓ 2 callersFunctiongetLeftOfDefineProps
* Gets the pattern of the left operand of defineProps. * @param {CallExpression} node The node of defineProps * @returns {Pattern | null} The patter
lib/utils/index.js:3408
↓ 2 callersFunctiongetLineIndentText
* Get the actual indentation of the given line. * * @param line The number of line. Begins with 1.
lib/rules/html-comment-indent.ts:125
↓ 2 callersFunctiongetLineStartIndex
* Get position of the beginning of the token's line(or prevToken end if no line) * @param {ASTNode|Token} token * @param {ASTNode|Token} prevTok
lib/rules/define-macros-order.js:357
↓ 2 callersMethodgetNestNodes
(name: string)
lib/utils/property-references.ts:721
↓ 2 callersFunctiongetNextSibling
* @param {VElement} node * @returns {VElement|null}
lib/rules/no-negated-v-if-condition.js:29
↓ 2 callersFunctiongetObjectOrArray
* @param {RuleContext} context The rule context object. * @param {ESNode} node * @returns {ObjectExpression | ArrayExpression | null}
lib/utils/index.js:3749
↓ 2 callersFunctiongetObjectPropertyMap
( object: ObjectExpression )
lib/rules/no-undef-properties.ts:28
↓ 2 callersFunctiongetPhrase
* @param {number} lineBreaks
lib/rules/block-tag-newline.js:26
↓ 2 callersFunctiongetPresetIds
(categoryIds)
tools/lib/utils.js:27
↓ 2 callersFunctiongetPresetNames
(presetIds)
tools/lib/categories.js:73
↓ 2 callersFunctiongetRawValue
@param {VLiteral | Literal | TemplateElement | null} node
lib/rules/no-duplicate-class-names.js:195
↓ 2 callersFunctiongetRegisteredDirectives
( componentObject: ObjectExpression )
lib/rules/no-undef-directives.ts:9
↓ 2 callersFunctiongetReportLocation
( parameters: VNODE.HasLocation[], firstReportedIndex: number )
lib/rules/prefer-single-event-payload.ts:26
↓ 2 callersFunctiongetScriptRefsFromSetupFunction
* @param body {(Statement | ModuleDeclaration)[]} * @returns {ScriptRef[]} *
lib/rules/prefer-use-template-ref.js:18
↓ 2 callersFunctiongetSemverRange
* Get the `semver.Range` object of a given range text. * It's null if the `x` is not a valid range text.
lib/rules/no-unsupported-features.ts:64
↓ 2 callersFunctiongetSlotContext
* @param {VElement} element * @param {SourceCode} sourceCode * @returns {SlotContext}
lib/rules/syntaxes/utils/can-convert-to-v-slot.js:48
↓ 2 callersFunctiongetStaticArgName
(directive: VDirective)
lib/rules/prefer-v-model.ts:11
↓ 2 callersMethodgetTokensAfter
( node: VNODE.HasLocation, options?: eslint.SourceCode.CursorWithCountOptions )
typings/eslint-plugin-vue/util-types/parser-services.ts:106
↓ 2 callersFunctiongetVForUsingIterationVar
@param {VDirective} vIf
lib/rules/no-use-v-if-with-v-for.js:20
↓ 2 callersFunctiongetVSlotVForVariableIfUsingIterationVars
* Gets the `v-for` directive and variable that provide the variables used by the given` v-slot` directive. * @param {VDirective} vSlot The current `v
lib/rules/valid-v-slot.js:169
↓ 2 callersFunctiongetValueType
( targetNode: Expression )
lib/rules/require-valid-default-prop.ts:129
↓ 2 callersFunctiongetVueComponentContextForTemplate
()
lib/rules/no-undef-properties.ts:212
↓ 2 callersFunctiongetVueObjectType
* If the given object is a Vue component or instance, returns the Vue definition type. * @param {RuleContext} context The ESLint rule context object.
lib/utils/index.js:3006
↓ 2 callersFunctionhandleObjectProp
(prop, defaultProps)
lib/rules/no-required-prop-with-default.js:53
↓ 2 callersFunctionhasAttribute
* Check whether the given start tag has specific directive. * @param {VElement} node The start tag node to check. * @param {string} name The attribu
lib/utils/index.js:3267
↓ 2 callersFunctionhasReferenceUpperElementVariable
* Checks whether the given node refers to a variable of the element. * @param {Expression | VOnExpression} node
lib/rules/v-on-handler-style.js:278
↓ 2 callersFunctionhasUpper
* Checks whether the given string has uppercase.
lib/utils/casing.ts:18
↓ 2 callersFunctionhttpGet
(url)
tools/lib/http.js:4
↓ 2 callersFunctioninferRuntimeType
* @param {RuleContext} context The ESLint rule context object. * @param {TSESTreeTypeNode} node * @param {Set<TSESTreeTypeNode>} [checked] * @retur
lib/utils/ts-utils/ts-ast.js:366
↓ 2 callersFunctioninferRuntimeTypeFromTypeNode
* @param {RuleContext} context The ESLint rule context object. * @param {TypeNode|Expression} node * @returns {string[]}
lib/utils/ts-utils/ts-types.js:162
↓ 2 callersFunctioninferRuntimeTypeInternal
* @param {Type} type * @param {Services} services * @returns {string[]}
lib/utils/ts-utils/ts-types.js:202
↓ 2 callersMethodinsertTextBeforeRange
(range: AST.Range, text: string)
typings/eslint/index.d.ts:382
↓ 2 callersFunctionisAllowed
* Copied from the core rule `no-console`. * Checks whether the property name of the given MemberExpression node * is allowed by options or n
lib/rules/no-console.js:23
↓ 2 callersFunctionisBlockComment
( node: Comment )
lib/utils/comments.ts:8
↓ 2 callersFunctionisBooleanLike
* Check if a given type is an boolean-like type or not. * @param {Type} tsType The type to check. * @returns {boolean} `true` if the type is a boole
lib/utils/ts-utils/typescript.js:173
↓ 2 callersFunctionisCustomComponentWithoutCondition
(node: VElement)
lib/rules/v-if-else-key.ts:159
↓ 2 callersFunctionisEffectivelyUnreachable
* Treat spurious segments the same as unreachable. * @param {CodePathSegment} segment
lib/utils/index.js:1855
↓ 2 callersFunctionisFalsy
* Checks if the given node value is falsy. * @param {Expression} node The node to check * @returns {boolean} If `true`, the given node value is fals
lib/rules/return-in-emits-validator.js:19
↓ 2 callersFunctionisForbiddenType
* @param {ESNode} node
lib/rules/require-prop-type-constructor.js:24
↓ 2 callersFunctionisFunction
* Check if a given type is `function` or not. * @param {Type} tsType The type to check.
lib/utils/ts-utils/typescript.js:202
↓ 2 callersFunctionisFunction
* @param {Expression} node * @returns {boolean}
lib/rules/require-expose.js:115
↓ 2 callersFunctionisIdentifierCallExpression
* Check whether the given node is an identifier call expression. e.g. `foo()` * @param {Expression} node The node to check. * @returns {node is Call
lib/rules/v-on-handler-style.js:57
↓ 2 callersFunctionisInScriptSetup
* @param {ESNode} node
lib/utils/index.js:1362
↓ 2 callersFunctionisKebabCase
(str: string)
lib/utils/casing.ts:35
↓ 2 callersFunctionisModule
* check whether a tag has the `module` attribute * @param {VElement} componentBlock
lib/rules/enforce-style-attribute.js:23
↓ 2 callersFunctionisPropsMemberAccessed
* @param {Expression | Super} node * @param {ScopePropsReferences} propsReferences
lib/rules/no-setup-props-reactivity-loss.js:187
↓ 2 callersFunctionisScoped
* check whether a tag has the `scoped` attribute * @param {VElement} componentBlock
lib/rules/enforce-style-attribute.js:13
↓ 2 callersFunctionisShallowOnlyInvalid
* Is shallowOnly false or the prop reassigned * @param {Exclude<ReturnType<typeof utils.findMutating>, null>} invalid * @param {boolean} isR
lib/rules/no-mutating-props.js:287
↓ 2 callersFunctionisUpdate
* Checks whether writing assigns a value to the given pattern.
lib/rules/no-ref-object-reactivity-loss.ts:14
← previousnext →101–200 of 2,001, ranked by callers