MCPcopy Create free account

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

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

↓ 1 callersFunctiongenerateConfig
(rules)
tools/update-no-layout-rules-config.js:24
↓ 1 callersFunctiongetActualStyle
* Get the expected style.
lib/rules/v-slot-style.ts:63
↓ 1 callersFunctiongetAfterElements
(element: VElement)
lib/utils/selector.ts:577
↓ 1 callersFunctiongetAllHTMLTextContents
* Retrieves an array containing all HTML texts in the source code. * * @returns {Token[]} An array of HTML text nodes.
lib/rules/max-len.js:291
↓ 1 callersFunctiongetAllLocalImports
* @param {Program} ast
lib/rules/no-restricted-call-after-await.js:96
↓ 1 callersFunctiongetAllRegExpLiterals
* Retrieves an array containing all RegExp literals in the source code. * * @returns {Token[]} An array of RegExp literal nodes.
lib/rules/max-len.js:282
↓ 1 callersFunctiongetAllStrings
* Retrieves an array containing all strings (" or ') in the source code. * * @returns {Token[]} An array of string nodes.
lib/rules/max-len.js:258
↓ 1 callersFunctiongetAllTemplateLiterals
* Retrieves an array containing all template literals in the source code. * * @returns {Token[]} An array of template literal nodes.
lib/rules/max-len.js:273
↓ 1 callersFunctiongetAllowsLangPhrase
* @param {NonNullable<BlockOptions['lang']>} lang
lib/rules/block-lang.js:42
↓ 1 callersFunctiongetAttribute
* Get the attribute which has the given name. * @param {VElement} node The start tag node to check. * @param {string} name The attribute name to che
lib/utils/index.js:3202
↓ 1 callersFunctiongetAttributeAndPositionList
* @param {VStartTag} node * @returns { { attr: ( VAttribute | VDirective ), position: number }[] }
lib/rules/attributes-order.js:383
↓ 1 callersFunctiongetAttributeName
(node: VDirective | VAttribute)
lib/rules/attribute-hyphenation.ts:10
↓ 1 callersFunctiongetAttributeName
* @param {VAttribute | VDirective} attribute * @param {SourceCode} sourceCode
lib/rules/attributes-order.js:85
↓ 1 callersFunctiongetAttributeName
(node: VDirective | VAttribute)
lib/rules/prefer-true-attribute-shorthand.ts:10
↓ 1 callersFunctiongetAttributeString
(element: VElement)
lib/rules/block-order.ts:11
↓ 1 callersFunctiongetAttributeType
* @param {VAttribute | VDirective} attribute
lib/rules/attributes-order.js:115
↓ 1 callersFunctiongetBeforeElement
(element: VElement)
lib/utils/selector.ts:567
↓ 1 callersFunctiongetCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/no-ref-as-operand.ts:46
↓ 1 callersFunctiongetCalleeMemberNode
* Get the callee member node from the given CallExpression * @param {CallExpression} node CallExpression
lib/rules/require-expose.js:44
↓ 1 callersFunctiongetCalleeMemberNode
* Get the callee member node from the given CallExpression * @param {CallExpression} node CallExpression
lib/rules/no-expose-after-await.js:14
↓ 1 callersFunctiongetCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/custom-event-name-casing.ts:37
↓ 1 callersFunctiongetCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/no-restricted-custom-event.ts:55
↓ 1 callersFunctiongetCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/prefer-single-event-payload.ts:14
↓ 1 callersFunctiongetChainHeadToken
* Find the head of chaining nodes.
lib/utils/indent-common.ts:468
↓ 1 callersFunctiongetCloseDecoration
* Get a close decoration string from comment contents.
lib/utils/html-comments.ts:79
↓ 1 callersFunctiongetCommentExpectedIndents
* Get the expected indent of comments.
lib/utils/indent-common.ts:748
↓ 1 callersMethodgetCommentsBefore
(nodeOrToken: VNODE.HasLocation)
typings/eslint-plugin-vue/util-types/parser-services.ts:134
↓ 1 callersFunctiongetComponentComments
* Gets the component comments of a given context. * @param {RuleContext} context The ESLint rule context object. * @return {Token[]} The the compone
lib/utils/index.js:3147
↓ 1 callersFunctiongetComponentEmitsFromTypeDefine
* Get all emits by looking at all component's properties * @param {RuleContext} context The ESLint rule context object. * @param {TypeNode} emitsNod
lib/utils/ts-utils/index.js:74
↓ 1 callersFunctiongetComponentEmitsFromTypeDefineTypes
* Get all emits by looking at all component's properties * @param {RuleContext} context The ESLint rule context object. * @param {TypeNode} emitsNod
lib/utils/ts-utils/ts-types.js:107
↓ 1 callersFunctiongetComponentNames
(context: RuleContext)
lib/rules/no-deprecated-router-link-tag-prop.ts:8
↓ 1 callersFunctiongetComponentPropsFromOptions
* Get all props from component options object. * @param {ObjectExpression} componentObject Object with component definition * @return {(ComponentArr
lib/utils/index.js:3430
↓ 1 callersFunctiongetComponentPropsFromTypeDefine
* Get all props by looking at all component's properties * @param {RuleContext} context The ESLint rule context object. * @param {TypeNode} propsNod
lib/utils/ts-utils/index.js:47
↓ 1 callersFunctiongetComponentPropsFromTypeDefineTypes
* Get all props by looking at all component's properties * @param {RuleContext} context The ESLint rule context object. * @param {TypeNode} propsNod
lib/utils/ts-utils/ts-types.js:79
↓ 1 callersFunctiongetComponentPropsTypes
* Get type of props item. * Can't consider array props like: props: {propsA: [String, Number, Function]} * @param {RuleContext} context * @param {C
lib/rules/no-use-computed-property-like-method.js:123
↓ 1 callersFunctiongetComponentPropsTypesFromExpression
* @param {Expression} expr
lib/rules/no-use-computed-property-like-method.js:137
↓ 1 callersFunctiongetComponentPropsTypesFromTypeExpression
* @param {Expression} typeExpr
lib/rules/no-use-computed-property-like-method.js:165
↓ 1 callersFunctiongetComponentSlotsFromTypeDefine
* Get all slots by looking at all component's properties * @param {RuleContext} context The ESLint rule context object. * @param {TypeNode} slotsNod
lib/utils/ts-utils/index.js:104
↓ 1 callersFunctiongetComponentSlotsFromTypeDefineTypes
* Get all slots by looking at all component's properties * @param {RuleContext} context The ESLint rule context object. * @param {TypeNode} slotsNod
lib/utils/ts-utils/ts-types.js:135
↓ 1 callersFunctiongetComputedProperties
* Get all computed properties by looking at all component's properties * @param {ObjectExpression} componentObject Object with component definition
lib/utils/index.js:1108
↓ 1 callersFunctiongetContainerScope
* @param {ASTNode} node * @returns {import('eslint').Scope.ScopeManager|null}
lib/utils/index.js:287
↓ 1 callersFunctiongetConvertedCondition
* @param {Expression} expression * @returns {string}
lib/rules/no-negated-v-if-condition.js:95
↓ 1 callersFunctiongetCutStart
(key: VBindDirectiveKey)
lib/rules/v-bind-style.ts:33
↓ 1 callersMethodgetDeclaredVariables
@deprecated removed in ESLint v9
typings/eslint/index.d.ts:348
↓ 1 callersFunctiongetDefaultNode
* @param {ObjectExpression} propDefValue
lib/rules/no-boolean-default.js:38
↓ 1 callersFunctiongetDirective
* Get the directive which has the given name. * @param {VElement} node The start tag node to check. * @param {string} name The directive name to che
lib/utils/index.js:3242
↓ 1 callersFunctiongetDirective
* @param {VElement} element
lib/rules/no-negated-v-if-condition.js:59
↓ 1 callersFunctiongetDirectiveKeyName
* @param {VDirectiveKey} directiveKey * @param {SourceCode} sourceCode
lib/rules/attributes-order.js:101
↓ 1 callersFunctiongetElementType
* Get the elementType of the given element.
lib/rules/html-self-closing.ts:46
↓ 1 callersFunctiongetErrorPosition
( line: number, column: number, errorType: 'unexpected' | 'missing' )
tests/lib/rules/func-call-spacing.test.ts:14
↓ 1 callersFunctiongetEventDirectives
* Finds and returns all keys for event directives * * @param {VStartTag} startTag Element startTag * @param {SourceCode} sourceCode The source code
lib/rules/use-v-on-exact.js:31
↓ 1 callersFunctiongetExpectedErrorMessage
(suggestedCode: string)
tests/lib/rules/no-implicit-coercion.test.ts:10
↓ 1 callersFunctiongetExpectedIndents
* Calculate correct indentation of the line of the given tokens.
lib/utils/indent-common.ts:594
↓ 1 callersFunctiongetExpectedLineBreaks
* @param {VStartTag | VEndTag} node - The node representing a start or end tag. * @param {RuleOptions} options - The options for line breaks. * @par
lib/rules/html-closing-bracket-newline.js:53
↓ 1 callersFunctiongetExpectedNames
(identifier: Identifier)
lib/rules/match-component-import-name.ts:8
↓ 1 callersFunctiongetExpectedStyle
* Get the expected style.
lib/rules/v-slot-style.ts:44
↓ 1 callersFunctiongetFirstAndLastTokens
* @param {Expression} node * @param {SourceCode} sourceCode
lib/rules/no-shared-component-data.js:23
↓ 1 callersFunctiongetFirstAndLastTokens
* @param {Expression} node * @param {SourceCode} sourceCode
lib/rules/no-deprecated-data-object-declaration.js:23
↓ 1 callersMethodgetFirstTokenBetween
( left: VNODE.HasLocation, right: VNODE.HasLocation, options?: eslint.SourceCode.CursorWithS
typings/eslint-plugin-vue/util-types/parser-services.ts:76
↓ 1 callersFunctiongetIndentText
* Get the text of the indentation part of the line which the given token is on.
lib/utils/indent-common.ts:636
↓ 1 callersFunctiongetInsertText
* Get result text to insert * @param {string} textNode * @param {ASTNode} target
lib/rules/define-macros-order.js:338
↓ 1 callersFunctiongetJSDocFromProperty
* Get the JSDoc comment for a given property node.
lib/rules/no-unused-properties.ts:122
↓ 1 callersFunctiongetKeyModifiersString
* Creates alphabetically sorted string with key modifiers * * @param {string[]} modifiers * @returns {string} e.g. "enter,tab"
lib/rules/use-v-on-exact.js:110
↓ 1 callersFunctiongetKeyName
* @param {VAttribute | VDirective} attr
lib/rules/no-lone-template.js:21
↓ 1 callersMethodgetLastTokens
( node: VNODE.HasLocation, options?: eslint.SourceCode.CursorWithCountOptions )
typings/eslint-plugin-vue/util-types/parser-services.ts:98
↓ 1 callersFunctiongetLineEmptyIndent
* Get the text of the empty indentation part of the line which the given token is on. * @param {SourceCode} sourceCode the source code object * @par
lib/rules/require-name-property.js:16
↓ 1 callersFunctiongetLinebreakCount
* @param {string} text Source code as a string. * @returns {number}
lib/rules/block-tag-newline.js:19
↓ 1 callersFunctiongetLocationRange
* @param {(VNode | Token)[]} nodes * @returns {SourceLocation | undefined}
lib/rules/no-child-content.js:48
↓ 1 callersFunctiongetMemberChaining
* Get the chaining nodes of MemberExpression. * * @param {ESNode} node The node to parse * @return {[ESNode, ...MemberExpression[]]} The cha
lib/utils/index.js:1996
↓ 1 callersFunctiongetMessageId
(name: string)
lib/rules/no-reserved-component-names.ts:112
↓ 1 callersFunctiongetMetaPropertyFromExportsNode
* Extracts the `meta` property from the ObjectExpression that all rules export. * * @param {ASTNode} exportsNode ObjectExpression node that the rule
eslint-internal-rules/no-invalid-meta-docs-categories.js:32
↓ 1 callersFunctiongetName
* Get the name of the given attribute node. * @param {VAttribute | VDirective} attribute The attribute node to get. * @returns {string | null} The n
lib/rules/no-duplicate-attributes.js:15
↓ 1 callersFunctiongetName
(key)
lib/rules/valid-attribute-name.js:30
↓ 1 callersFunctiongetNameParamNode
* Get the callee member node from the given CallExpression
lib/rules/no-ref-as-operand.ts:30
↓ 1 callersFunctiongetNameParamNode
* Get the name param node from the given CallExpression
lib/rules/require-explicit-emits.ts:52
↓ 1 callersFunctiongetNameParamNode
* Get the name param node from the given CallExpression * @param {CallExpression} node CallExpression * @returns {NameWithLoc | null}
lib/rules/no-unused-emit-declarations.js:33
↓ 1 callersFunctiongetNameParamNode
* Get the name param node from the given CallExpression
lib/rules/custom-event-name-casing.ts:22
↓ 1 callersFunctiongetNameParamNode
* Get the name param node from the given CallExpression
lib/rules/no-restricted-custom-event.ts:40
↓ 1 callersFunctiongetNestFromPattern
(pattern: Pattern)
lib/utils/property-references.ts:240
↓ 1 callersFunctiongetNormalizedName
* Get the normalized name of a given `v-slot` directive node with modifiers after `v-slot:` directive. * @param {VDirective} node The `v-slot` direct
lib/rules/valid-v-slot.js:55
↓ 1 callersFunctiongetNormalizedName
* Get the normalized name of a given `slot` attribute node. * @param {VAttribute | VDirective | null} slotAttr node of `slot` * @param {SourceCode}
lib/rules/syntaxes/utils/can-convert-to-v-slot.js:110
↓ 1 callersFunctiongetOpenDecoration
* Get a open decoration string from comment contents.
lib/utils/html-comments.ts:60
↓ 1 callersFunctiongetOptionsComponentName
(node: Expression)
lib/rules/component-options-name-casing.ts:12
↓ 1 callersFunctiongetOrderElement
(element: VElement)
lib/rules/block-order.ts:88
↓ 1 callersFunctiongetOrderMap
* @param {(string | string[])[]} order
lib/rules/order-in-components.js:105
↓ 1 callersFunctiongetOrderPosition
* @param {string} name
lib/rules/order-in-components.js:260
↓ 1 callersFunctiongetParentProperty
(node: Expression)
lib/rules/no-unused-properties.ts:381
↓ 1 callersFunctiongetParentProperty
(node: Expression)
lib/rules/no-undef-properties.ts:220
↓ 1 callersFunctiongetPhrase
* @param {number} lineBreaks
lib/rules/html-closing-bracket-newline.js:13
↓ 1 callersFunctiongetPhrase
(lineBreaks: number)
lib/rules/multiline-html-element-content-newline.ts:24
↓ 1 callersFunctiongetPosition
* @param {VAttribute | VDirective} attribute * @param { { [key: string]: number } } attributePosition * @returns {number | null} If the value is nul
lib/rules/attributes-order.js:195
↓ 1 callersFunctiongetPositionFromAttrIndex
* @param {number} index * @returns {number | null}
lib/rules/attributes-order.js:417
↓ 1 callersFunctiongetPropertyDataFromObjectProperty
( property: Property | undefined )
lib/rules/no-undef-properties.ts:45
↓ 1 callersFunctiongetPropertyFromObject
* Gets the property of the Object node passed in that has the name specified. * * @param {string} propertyName Name of the property to return. * @p
eslint-internal-rules/no-invalid-meta.js:15
↓ 1 callersFunctiongetPropertyName
* Gets the property name of the given `Property` node. * * - If the property's key is an `Identifier` node, this returns the key's name * whether
lib/rules/sort-keys.js:22
↓ 1 callersFunctiongetPropertyNode
(obj: ObjectExpression, name: string)
lib/rules/require-valid-default-prop.ts:27
↓ 1 callersFunctiongetPropsDestructure
* Gets the props destructure property nodes for defineProp. * @param {CallExpression} node The node of defineProps * @returns { Record<string, Assig
lib/utils/index.js:3367
↓ 1 callersFunctiongetPropsPattern
* Gets the props pattern node from given `defineProps()` node * @param {CallExpression} node * @returns {Pattern|null}
lib/rules/no-dupe-keys.js:24
↓ 1 callersFunctiongetReferences
* Extract names from references objects. * @param {VReference[]} references
lib/rules/no-unused-refs.js:13
↓ 1 callersFunctiongetRegisteredComponents
* Returns the list of all registered components * @param {ObjectExpression} componentObject * @returns { { node: Property, name: string }[] } Ar
lib/utils/index.js:865
← previousnext →401–500 of 2,001, ranked by callers