Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vuejs/eslint-plugin-vue
/ functions
Functions
2,001 in github.com/vuejs/eslint-plugin-vue
⨍
Functions
2,001
◇
Types & classes
276
↓ 1 callers
Function
generateConfig
(rules)
tools/update-no-layout-rules-config.js:24
↓ 1 callers
Function
getActualStyle
* Get the expected style.
lib/rules/v-slot-style.ts:63
↓ 1 callers
Function
getAfterElements
(element: VElement)
lib/utils/selector.ts:577
↓ 1 callers
Function
getAllHTMLTextContents
* 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 callers
Function
getAllLocalImports
* @param {Program} ast
lib/rules/no-restricted-call-after-await.js:96
↓ 1 callers
Function
getAllRegExpLiterals
* 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 callers
Function
getAllStrings
* 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 callers
Function
getAllTemplateLiterals
* 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 callers
Function
getAllowsLangPhrase
* @param {NonNullable<BlockOptions['lang']>} lang
lib/rules/block-lang.js:42
↓ 1 callers
Function
getAttribute
* 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 callers
Function
getAttributeAndPositionList
* @param {VStartTag} node * @returns { { attr: ( VAttribute | VDirective ), position: number }[] }
lib/rules/attributes-order.js:383
↓ 1 callers
Function
getAttributeName
(node: VDirective | VAttribute)
lib/rules/attribute-hyphenation.ts:10
↓ 1 callers
Function
getAttributeName
* @param {VAttribute | VDirective} attribute * @param {SourceCode} sourceCode
lib/rules/attributes-order.js:85
↓ 1 callers
Function
getAttributeName
(node: VDirective | VAttribute)
lib/rules/prefer-true-attribute-shorthand.ts:10
↓ 1 callers
Function
getAttributeString
(element: VElement)
lib/rules/block-order.ts:11
↓ 1 callers
Function
getAttributeType
* @param {VAttribute | VDirective} attribute
lib/rules/attributes-order.js:115
↓ 1 callers
Function
getBeforeElement
(element: VElement)
lib/utils/selector.ts:567
↓ 1 callers
Function
getCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/no-ref-as-operand.ts:46
↓ 1 callers
Function
getCalleeMemberNode
* Get the callee member node from the given CallExpression * @param {CallExpression} node CallExpression
lib/rules/require-expose.js:44
↓ 1 callers
Function
getCalleeMemberNode
* Get the callee member node from the given CallExpression * @param {CallExpression} node CallExpression
lib/rules/no-expose-after-await.js:14
↓ 1 callers
Function
getCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/custom-event-name-casing.ts:37
↓ 1 callers
Function
getCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/no-restricted-custom-event.ts:55
↓ 1 callers
Function
getCalleeMemberNode
* Get the callee member node from the given CallExpression
lib/rules/prefer-single-event-payload.ts:14
↓ 1 callers
Function
getChainHeadToken
* Find the head of chaining nodes.
lib/utils/indent-common.ts:468
↓ 1 callers
Function
getCloseDecoration
* Get a close decoration string from comment contents.
lib/utils/html-comments.ts:79
↓ 1 callers
Function
getCommentExpectedIndents
* Get the expected indent of comments.
lib/utils/indent-common.ts:748
↓ 1 callers
Method
getCommentsBefore
(nodeOrToken: VNODE.HasLocation)
typings/eslint-plugin-vue/util-types/parser-services.ts:134
↓ 1 callers
Function
getComponentComments
* 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 callers
Function
getComponentEmitsFromTypeDefine
* 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 callers
Function
getComponentEmitsFromTypeDefineTypes
* 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 callers
Function
getComponentNames
(context: RuleContext)
lib/rules/no-deprecated-router-link-tag-prop.ts:8
↓ 1 callers
Function
getComponentPropsFromOptions
* Get all props from component options object. * @param {ObjectExpression} componentObject Object with component definition * @return {(ComponentArr
lib/utils/index.js:3430
↓ 1 callers
Function
getComponentPropsFromTypeDefine
* 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 callers
Function
getComponentPropsFromTypeDefineTypes
* 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 callers
Function
getComponentPropsTypes
* 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 callers
Function
getComponentPropsTypesFromExpression
* @param {Expression} expr
lib/rules/no-use-computed-property-like-method.js:137
↓ 1 callers
Function
getComponentPropsTypesFromTypeExpression
* @param {Expression} typeExpr
lib/rules/no-use-computed-property-like-method.js:165
↓ 1 callers
Function
getComponentSlotsFromTypeDefine
* 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 callers
Function
getComponentSlotsFromTypeDefineTypes
* 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 callers
Function
getComputedProperties
* Get all computed properties by looking at all component's properties * @param {ObjectExpression} componentObject Object with component definition
lib/utils/index.js:1108
↓ 1 callers
Function
getContainerScope
* @param {ASTNode} node * @returns {import('eslint').Scope.ScopeManager|null}
lib/utils/index.js:287
↓ 1 callers
Function
getConvertedCondition
* @param {Expression} expression * @returns {string}
lib/rules/no-negated-v-if-condition.js:95
↓ 1 callers
Function
getCutStart
(key: VBindDirectiveKey)
lib/rules/v-bind-style.ts:33
↓ 1 callers
Method
getDeclaredVariables
@deprecated removed in ESLint v9
typings/eslint/index.d.ts:348
↓ 1 callers
Function
getDefaultNode
* @param {ObjectExpression} propDefValue
lib/rules/no-boolean-default.js:38
↓ 1 callers
Function
getDirective
* 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 callers
Function
getDirective
* @param {VElement} element
lib/rules/no-negated-v-if-condition.js:59
↓ 1 callers
Function
getDirectiveKeyName
* @param {VDirectiveKey} directiveKey * @param {SourceCode} sourceCode
lib/rules/attributes-order.js:101
↓ 1 callers
Function
getElementType
* Get the elementType of the given element.
lib/rules/html-self-closing.ts:46
↓ 1 callers
Function
getErrorPosition
( line: number, column: number, errorType: 'unexpected' | 'missing' )
tests/lib/rules/func-call-spacing.test.ts:14
↓ 1 callers
Function
getEventDirectives
* 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 callers
Function
getExpectedErrorMessage
(suggestedCode: string)
tests/lib/rules/no-implicit-coercion.test.ts:10
↓ 1 callers
Function
getExpectedIndents
* Calculate correct indentation of the line of the given tokens.
lib/utils/indent-common.ts:594
↓ 1 callers
Function
getExpectedLineBreaks
* @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 callers
Function
getExpectedNames
(identifier: Identifier)
lib/rules/match-component-import-name.ts:8
↓ 1 callers
Function
getExpectedStyle
* Get the expected style.
lib/rules/v-slot-style.ts:44
↓ 1 callers
Function
getFirstAndLastTokens
* @param {Expression} node * @param {SourceCode} sourceCode
lib/rules/no-shared-component-data.js:23
↓ 1 callers
Function
getFirstAndLastTokens
* @param {Expression} node * @param {SourceCode} sourceCode
lib/rules/no-deprecated-data-object-declaration.js:23
↓ 1 callers
Method
getFirstTokenBetween
( left: VNODE.HasLocation, right: VNODE.HasLocation, options?: eslint.SourceCode.CursorWithS
typings/eslint-plugin-vue/util-types/parser-services.ts:76
↓ 1 callers
Function
getIndentText
* Get the text of the indentation part of the line which the given token is on.
lib/utils/indent-common.ts:636
↓ 1 callers
Function
getInsertText
* Get result text to insert * @param {string} textNode * @param {ASTNode} target
lib/rules/define-macros-order.js:338
↓ 1 callers
Function
getJSDocFromProperty
* Get the JSDoc comment for a given property node.
lib/rules/no-unused-properties.ts:122
↓ 1 callers
Function
getKeyModifiersString
* 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 callers
Function
getKeyName
* @param {VAttribute | VDirective} attr
lib/rules/no-lone-template.js:21
↓ 1 callers
Method
getLastTokens
( node: VNODE.HasLocation, options?: eslint.SourceCode.CursorWithCountOptions )
typings/eslint-plugin-vue/util-types/parser-services.ts:98
↓ 1 callers
Function
getLineEmptyIndent
* 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 callers
Function
getLinebreakCount
* @param {string} text Source code as a string. * @returns {number}
lib/rules/block-tag-newline.js:19
↓ 1 callers
Function
getLocationRange
* @param {(VNode | Token)[]} nodes * @returns {SourceLocation | undefined}
lib/rules/no-child-content.js:48
↓ 1 callers
Function
getMemberChaining
* Get the chaining nodes of MemberExpression. * * @param {ESNode} node The node to parse * @return {[ESNode, ...MemberExpression[]]} The cha
lib/utils/index.js:1996
↓ 1 callers
Function
getMessageId
(name: string)
lib/rules/no-reserved-component-names.ts:112
↓ 1 callers
Function
getMetaPropertyFromExportsNode
* 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 callers
Function
getName
* 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 callers
Function
getName
(key)
lib/rules/valid-attribute-name.js:30
↓ 1 callers
Function
getNameParamNode
* Get the callee member node from the given CallExpression
lib/rules/no-ref-as-operand.ts:30
↓ 1 callers
Function
getNameParamNode
* Get the name param node from the given CallExpression
lib/rules/require-explicit-emits.ts:52
↓ 1 callers
Function
getNameParamNode
* 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 callers
Function
getNameParamNode
* Get the name param node from the given CallExpression
lib/rules/custom-event-name-casing.ts:22
↓ 1 callers
Function
getNameParamNode
* Get the name param node from the given CallExpression
lib/rules/no-restricted-custom-event.ts:40
↓ 1 callers
Function
getNestFromPattern
(pattern: Pattern)
lib/utils/property-references.ts:240
↓ 1 callers
Function
getNormalizedName
* 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 callers
Function
getNormalizedName
* 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 callers
Function
getOpenDecoration
* Get a open decoration string from comment contents.
lib/utils/html-comments.ts:60
↓ 1 callers
Function
getOptionsComponentName
(node: Expression)
lib/rules/component-options-name-casing.ts:12
↓ 1 callers
Function
getOrderElement
(element: VElement)
lib/rules/block-order.ts:88
↓ 1 callers
Function
getOrderMap
* @param {(string | string[])[]} order
lib/rules/order-in-components.js:105
↓ 1 callers
Function
getOrderPosition
* @param {string} name
lib/rules/order-in-components.js:260
↓ 1 callers
Function
getParentProperty
(node: Expression)
lib/rules/no-unused-properties.ts:381
↓ 1 callers
Function
getParentProperty
(node: Expression)
lib/rules/no-undef-properties.ts:220
↓ 1 callers
Function
getPhrase
* @param {number} lineBreaks
lib/rules/html-closing-bracket-newline.js:13
↓ 1 callers
Function
getPhrase
(lineBreaks: number)
lib/rules/multiline-html-element-content-newline.ts:24
↓ 1 callers
Function
getPosition
* @param {VAttribute | VDirective} attribute * @param { { [key: string]: number } } attributePosition * @returns {number | null} If the value is nul
lib/rules/attributes-order.js:195
↓ 1 callers
Function
getPositionFromAttrIndex
* @param {number} index * @returns {number | null}
lib/rules/attributes-order.js:417
↓ 1 callers
Function
getPropertyDataFromObjectProperty
( property: Property | undefined )
lib/rules/no-undef-properties.ts:45
↓ 1 callers
Function
getPropertyFromObject
* 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 callers
Function
getPropertyName
* 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 callers
Function
getPropertyNode
(obj: ObjectExpression, name: string)
lib/rules/require-valid-default-prop.ts:27
↓ 1 callers
Function
getPropsDestructure
* 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 callers
Function
getPropsPattern
* Gets the props pattern node from given `defineProps()` node * @param {CallExpression} node * @returns {Pattern|null}
lib/rules/no-dupe-keys.js:24
↓ 1 callers
Function
getReferences
* Extract names from references objects. * @param {VReference[]} references
lib/rules/no-unused-refs.js:13
↓ 1 callers
Function
getRegisteredComponents
* Returns the list of all registered components * @param {ObjectExpression} componentObject * @returns { { node: Property, name: string }[] } Ar
lib/utils/index.js:865
← previous
next →
401–500 of 2,001, ranked by callers