MCPcopy Create free account

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

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

↓ 1 callersFunctioncheckKey
* Check the given element about `v-bind:key` attributes. * @param {VElement} element The element node to check.
lib/rules/require-v-for-key.js:31
↓ 1 callersFunctioncheckMaxDepth
* @param {VElement} element * @param {number} curDepth
lib/rules/max-template-depth.js:42
↓ 1 callersFunctioncheckMetaValidity
* Checks the validity of the meta definition of this rule and reports any errors found. * * @param {RuleContext} context The ESLint rule context. *
eslint-internal-rules/no-invalid-meta-docs-categories.js:44
↓ 1 callersFunctioncheckMetaValidity
* Checks the validity of the meta definition of this rule and reports any errors found. * * @param {RuleContext} context The ESLint rule context. *
eslint-internal-rules/no-invalid-meta.js:34
↓ 1 callersFunctioncheckNewline
* @param {RuleContext} context
lib/rules/padding-line-between-tags.js:150
↓ 1 callersFunctioncheckProgramForMaxLength
* Check the program for max length * @param {Program} node Node to examine * @returns {void} * @private
lib/rules/max-len.js:301
↓ 1 callersFunctioncheckPropObjectType
(context, objectNode)
lib/rules/require-typed-object-prop.js:63
↓ 1 callersFunctioncheckPropertyNode
* @param {string} propName * @param {ESNode} node
lib/rules/require-prop-type-constructor.js:52
↓ 1 callersFunctioncheckVariableGroup
* @param {VVariable[]} variables the variables of a single directive kind * @param {VElement} node the element node the variables belong to
lib/rules/no-unused-vars.js:116
↓ 1 callersFunctionclassNameNodeToVElementMatcher
* Convert ClassName node to VElementMatcher
lib/utils/selector.ts:325
↓ 1 callersFunctionclearEmits
()
lib/rules/no-unused-emit-declarations.js:93
↓ 1 callersFunctioncollectClassName
* @param {string} className * @param {Literal | TemplateElement} reportNode * @param {boolean} isUnconditional * @param {Ex
lib/rules/no-duplicate-class-names.js:306
↓ 1 callersFunctioncollectDefaultContext
( defaultDef: DefaultDefine, prop: ComponentObjectProp | ComponentTypeProp | ComponentInferTyp
lib/rules/require-valid-default-prop.ts:255
↓ 1 callersFunctioncollectRenamedProps
* Collects all renamed props from a pattern * @param {Pattern | null} pattern - The destructuring pattern * @returns {Set<string>} - Set of prop nam
lib/rules/no-dupe-keys.js:66
↓ 1 callersFunctioncombination
( left: VElementMatcher, combinator: string, right: VElementMatcher )
lib/utils/selector.ts:152
↓ 1 callersFunctioncompareNames
(name: string, filename: string)
lib/rules/match-component-file-name.ts:72
↓ 1 callersFunctioncomparePositions
* @param {Position} pos1 * @param {Position} pos2 * @returns {'less' | 'equal' | 'greater'}
lib/rules/no-child-content.js:26
↓ 1 callersFunctioncompound
(a: VElementMatcher, b: VElementMatcher)
lib/utils/selector.ts:583
↓ 1 callersFunctioncomputeLineLength
* Computes the length of a line that may contain tabs. The width of each * tab will be the number of spaces to the next tab stop. * @param {string}
lib/rules/max-len.js:77
↓ 1 callersFunctioncopyOffset
* Copy offset to the given tokens from srcToken.
lib/utils/indent-common.ts:246
↓ 1 callersFunctioncountObjectExpression
* count ObjectExpression element * @param {VDirective & {value: VExpressionContainer & {expression: ArrayExpression}}} node * @return {number}
lib/rules/no-multiple-objects-in-class.js:14
↓ 1 callersFunctioncreateCompositionApiTraceMap
* Wraps composition API trace map in both 'vue' and '@vue/composition-api' imports, or '#imports' from unimport * @param {import('@eslint-community/e
lib/utils/index.js:3187
↓ 1 callersFunctioncreateConditionalFamily
(ifNode: VElement)
lib/rules/v-if-else-key.ts:175
↓ 1 callersFunctioncreateDirectiveList
* @param {string[]} directives
lib/rules/require-toggle-inside-transition.js:26
↓ 1 callersFunctioncreateInvalidTests
( prefix: string, options: RuleOption[], message: string )
tests/lib/rules/this-in-template.test.ts:80
↓ 1 callersFunctioncreateSuggest
( property: Property | AssignmentProperty, suggest?: string )
lib/rules/no-restricted-component-names.ts:36
↓ 1 callersFunctioncreateSuggest
( node: Expression, option: ParsedOption, fixPropInOtherPlaces?: ( fixer: RuleFixer, replaceKeyT
lib/rules/no-restricted-props.ts:151
↓ 1 callersFunctioncreateTemplateBodyVisitor
( isDefined: (rawName: string) => boolean )
lib/rules/no-undef-directives.ts:100
↓ 1 callersFunctioncreateToken
(type: string, value: string)
lib/utils/html-comments.ts:135
↓ 1 callersFunctioncreateValidTests
(prefix: string, options: RuleOption[])
tests/lib/rules/this-in-template.test.ts:15
↓ 1 callersFunctiondefaultMessage
(path: string[])
lib/rules/no-restricted-component-options.ts:84
↓ 1 callersFunctiondefaultMessage
(block: VElement)
lib/rules/no-restricted-block.ts:27
↓ 1 callersFunctiondefaultMessage
(key: VDirectiveKey, option: ParsedOption)
lib/rules/no-restricted-v-on.ts:64
↓ 1 callersFunctiondefaultMessage
(key: VDirectiveKey, option: ParsedOption)
lib/rules/no-restricted-v-bind.ts:74
↓ 1 callersFunctiondefaultMessage
(node: VAttribute, option: ParsedOption)
lib/rules/no-restricted-static-attribute.ts:61
↓ 1 callersFunctiondefineFix
* Define the function which fixes the problem.
lib/utils/indent-common.ts:650
↓ 1 callersFunctiondefineFix
* Define the function which fixes the problem.
lib/rules/html-comment-indent.ts:138
↓ 1 callersFunctiondefineParser
* Define HTML comment parser
lib/utils/html-comments.ts:49
↓ 1 callersFunctiondefineScriptSetupVisitor
* Define handlers to traverse the AST nodes in `<script setup>`. * Some special events are available to visitor. * * - `onDefinePropsEnter` .
lib/utils/index.js:1352
↓ 1 callersFunctiondefineVisitor
(visitor)
lib/utils/index.js:596
↓ 1 callersFunctiondefineVisitor
( context: RuleContext, config: CommentParserConfig | null, visitHTMLComment: HTMLCommentVisitor, visi
lib/utils/html-comments.ts:188
↓ 1 callersFunctioneditDistance
* return two string editdistance * @param {string} a string a to compare * @param {string} b string b to compare * @returns {number}
lib/utils/index.js:2014
↓ 1 callersFunctionequal
* Determines whether the two given nodes are considered to be equal. In particular, given that the nodes * represent expressions in a boolean con
lib/rules/no-dupe-v-else-if.js:97
↓ 1 callersFunctionequal
* Determines whether the two given nodes are considered to be equal. * @param {ASTNode} a First node. * @param {ASTNode} b Second node. * @re
lib/rules/valid-v-slot.js:155
↓ 1 callersFunctionequal
* Determines whether the two given nodes are considered to be equal. * @param {ASTNode} a First node. * @param {ASTNode} b Second node. * @re
lib/rules/syntaxes/utils/can-convert-to-v-slot.js:212
↓ 1 callersFunctionequalSlotVForVariables
* Determines whether the two given `v-slot` variables are considered to be equal. * @param {SlotVForVariables} a First element. * @param {SlotVForVa
lib/rules/syntaxes/utils/can-convert-to-v-slot.js:168
↓ 1 callersFunctionequalVSlotVForVariables
* Determines whether the two given `v-slot` variables are considered to be equal. * @param {VSlotVForVariables} a First element. * @param {VSlotVFor
lib/rules/valid-v-slot.js:111
↓ 1 callersFunctionexecuteOnVueComponent
* Check if current file is a Vue component and call callback * @param {RuleContext} context The ESLint rule context object. * @param { (node: Ob
lib/utils/index.js:1605
↓ 1 callersMethodexpressionCouldBeFunction
* Check whether the given expression could be a function. * @param {Expression} expr * @returns {boolean}
lib/rules/no-use-computed-property-like-method.js:448
↓ 1 callersFunctionextractClassNames
( node: Expression, isTextOnly?: boolean )
lib/rules/no-restricted-class.ts:29
↓ 1 callersFunctionextractClassNodes
* @param {VDirective} node * @param {Expression} [expression] * @param {boolean} [isUnconditional=true] whether the expression is unconditional * @
lib/rules/no-duplicate-class-names.js:17
↓ 1 callersFunctionextractComponentEmits
(code: string, tsFileCode = '')
tests/lib/utils/ts-utils/index/get-component-emits.test.ts:11
↓ 1 callersFunctionextractComponentProps
(code: string, tsFileCode = '')
tests/lib/utils/ts-utils/index/get-component-props.test.ts:11
↓ 1 callersFunctionextractComponentSlots
(code: string)
tests/lib/utils/ts-utils/index/get-component-slots.test.ts:6
↓ 1 callersFunctionextractDefineVariableNames
()
lib/rules/no-mutating-props.js:261
↓ 1 callersFunctionextractElements
(code: string, inputSelector: string)
tests/lib/utils/selector.test.ts:22
↓ 1 callersFunctionextractEventNames
* @param {TSESTreeParameter} eventName * @param {TSCallSignatureDeclaration | TSFunctionType} member * @returns {IterableIterator<ComponentTypeEmit>
lib/utils/ts-utils/ts-ast.js:253
↓ 1 callersFunctionextractFromCall
* Extract the property references from call.
lib/utils/property-references.ts:442
↓ 1 callersFunctionextractFromFunctionParam
* Extract the property references from function param.
lib/utils/property-references.ts:483
↓ 1 callersFunctionextractFromSegments
(segments: string[])
lib/utils/property-references.ts:515
↓ 1 callersFunctionextractFromToRef
* Extract the property references from toRef call.
lib/utils/property-references.ts:568
↓ 1 callersFunctionextractFromToRefs
* Extract the property references from toRefs call.
lib/utils/property-references.ts:587
↓ 1 callersFunctionextractIdentifier
* Extract identifier from given pattern node.
lib/utils/ref-object-references.ts:225
↓ 1 callersFunctionextractImportNames
* @param {ImportDeclaration} node
lib/rules/prefer-import-from-vue.js:40
↓ 1 callersFunctionextractNamesFromNode
* @param {import('@typescript-eslint/types').TSESTree.ProgramStatement} node
tools/update-vue3-export-names.js:42
↓ 1 callersFunctionextractNamesFromPattern
* @param {Identifier|ArrayPattern|ObjectPattern|AssignmentPattern|MemberExpression|RestElement} node
tools/update-vue3-export-names.js:103
↓ 1 callersFunctionextractReactiveVariableReferences
( context: RuleContext )
lib/utils/ref-object-references.ts:637
↓ 1 callersFunctionextractReferences
* Extracts references from the given node. * @param {Pattern} node * @returns {Identifier[]} References
lib/rules/no-dupe-keys.js:186
↓ 1 callersFunctionextractRefs
( code: string, extract: ( context: RuleContext ) => RefObjectReferences | ReactiveVariableReference
tests/lib/utils/ref-object-references.test.ts:66
↓ 1 callersFunctionextractResolvedExpressions
* @param {Expression} node * @returns {Iterable<Expression>}
lib/rules/no-use-computed-property-like-method.js:70
↓ 1 callersFunctionextractRuntimeEmits
* @param {TSESTreeTSTypeLiteral | TSESTreeTSInterfaceBody | TSESTreeTSFunctionType} node * @returns {IterableIterator<ComponentTypeEmit | ComponentUn
lib/utils/ts-utils/ts-ast.js:174
↓ 1 callersFunctionextractRuntimeEmits
* @param {Type} type * @param {TypeScriptNode} tsNode * @param {TypeNode} emitsNode Type with emits definition * @param {Services} services * @ret
lib/utils/ts-utils/ts-types.js:260
↓ 1 callersFunctionextractRuntimeProps
* @see https://github.com/vuejs/vue-next/blob/253ca2729d808fc051215876aa4af986e4caa43c/packages/compiler-sfc/src/compileScript.ts#L1512 * @param {Rul
lib/utils/ts-utils/ts-ast.js:130
↓ 1 callersFunctionextractRuntimeProps
* @param {Type} type * @param {TypeScriptNode} tsNode * @param {TypeNode} propsNode Type with props definition * @param {Services} services * @ret
lib/utils/ts-utils/ts-types.js:179
↓ 1 callersFunctionextractRuntimeSlots
* @param {TSESTreeTSTypeLiteral | TSESTreeTSInterfaceBody} node * @returns {IterableIterator<ComponentTypeSlot | ComponentUnknownSlot>}
lib/utils/ts-utils/ts-ast.js:218
↓ 1 callersFunctionextractRuntimeSlots
* @param {Type} type * @param {TypeNode} slotsNode Type with slots definition * @returns {IterableIterator<ComponentInferTypeSlot>}
lib/utils/ts-utils/ts-types.js:312
↓ 1 callersFunctionextractSpecifierNames
* @param {ImportDeclaration['specifiers'][number]} specifier * @returns {IterableIterator<string | null>}
lib/rules/prefer-import-from-vue.js:20
↓ 1 callersFunctionextractTopLevelDocumentFragmentComments
* Extracts the top-level comments in document fragment. * @param {VDocumentFragment} documentFragment The document fragment. * @returns {Token[]} Th
lib/rules/comment-directive.js:261
↓ 1 callersFunctionextractUsedForObjectPattern
* Extract the use ref names for ObjectPattern. * @param {ObjectPattern} node * @returns {void}
lib/rules/no-unused-refs.js:64
↓ 1 callersFunctionfilterSameSlot
* Get all `v-slot` directives which are distributed to the same slot as a given `v-slot` directive node. * @param {VDirective[][]} vSlotGroups The re
lib/rules/valid-v-slot.js:73
↓ 1 callersFunctionfindConflictedEvents
* Searches for events that might conflict with each other * * @param {EventDirective[]} events * @returns {EventDirective[]} conflicted events, wit
lib/rules/use-v-on-exact.js:155
↓ 1 callersFunctionfindExpression
(context: RuleContext, id: Identifier)
lib/rules/no-unused-properties.ts:70
↓ 1 callersFunctionfindFunction
( context: RuleContext, id: Identifier )
lib/utils/property-references.ts:48
↓ 1 callersFunctionfindJSDocComment
* Finds a JSDoc comment for the given node.
lib/rules/no-unused-properties.ts:140
↓ 1 callersFunctionfindPropertyValue
* @param {ObjectExpression} node * @param {string} key * @returns {Literal | TemplateLiteral | undefined}
lib/rules/no-deprecated-model-definition.js:17
↓ 1 callersFunctionfindStaticClasses
* @param {ASTNode | TemplateLiteral} expressionNode * @returns {(Literal | TemplateLiteral | TemplateElement | Identifier)[]}
lib/rules/prefer-separate-static-class.js:35
↓ 1 callersFunctionfixSlotScopeToVSlot
* Convert to `v-slot`. * @param {RuleFixer} fixer fixer * @param {VDirective} scopeAttr node of `slot-scope` * @returns {Fix[]} fix dat
lib/rules/syntaxes/slot-scope-attribute.js:64
↓ 1 callersFunctionfixSlotToVSlot
* Convert to `v-slot`.
lib/rules/syntaxes/slot-attribute.ts:63
↓ 1 callersFunctionfixVSlotToSlot
* Convert to `slot` and `slot-scope`. * @param {RuleFixer} fixer fixer * @param {VDirective} vSlotAttr node of `v-slot` * @returns {nul
lib/rules/syntaxes/v-slot.js:28
↓ 1 callersFunctionflatten
* Flattens arrays, objects and iterable objects. * @template T * @param {T | Iterable<T> | null | undefined} v * @returns {T[]}
lib/utils/index.js:2333
↓ 1 callersFunctionflattenImpl
* @param {TSESTreeTypeNode} node * @returns {Iterable<TSESTreeTypeNode|TSESTreeTSInterfaceBody>}
lib/utils/ts-utils/ts-ast.js:311
↓ 1 callersFunctionformat
()
tools/update-lib-configs.js:110
↓ 1 callersFunctionformat
()
tools/update-lib-plugin.js:48
↓ 1 callersFunctionformat
()
tools/update-lib-flat-configs.js:132
↓ 1 callersFunctionformatCategory
(category, shouldAlwaysError = false)
tools/update-lib-configs.js:51
↓ 1 callersFunctionformatCategory
(category, shouldAlwaysError = false)
tools/update-lib-flat-configs.js:51
↓ 1 callersFunctionformatRules
(rules, categoryId, shouldAlwaysError)
tools/update-lib-configs.js:31
↓ 1 callersFunctionformatRules
(rules)
tools/update-no-layout-rules-config.js:19
↓ 1 callersFunctionformatRules
(rules, categoryId, shouldAlwaysError)
tools/update-lib-flat-configs.js:31
↓ 1 callersFunctionfunctionTemplate
(beforeRouteEnter: string)
tests/lib/rules/no-this-in-before-route-enter.test.ts:34
← previousnext →301–400 of 2,001, ranked by callers