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
↓ 2 callers
Function
isVAttribute
* Check whether the given attribute is plain attribute. * @param {VAttribute | VDirective | undefined | null} node * @returns { node is VAttribute }
lib/rules/attributes-order.js:51
↓ 2 callers
Function
isVElement
* Checks whether the given node is VElement. * @param {VElement | VExpressionContainer | VText | VDocumentFragment} node * @returns {node is VElemen
lib/utils/index.js:2537
↓ 2 callers
Function
isValidComponentName
* Returns true if the given component name is valid, otherwise false. *
lib/rules/multi-word-component-names.ts:52
↓ 2 callers
Function
isValidElement
@param {VElement} node
lib/rules/no-deprecated-html-element-is.js:27
↓ 2 callers
Function
isValidReturn
()
lib/utils/index.js:1859
↓ 2 callers
Function
isVmReference
* @param {ASTNode} node * @returns {node is Identifier}
lib/rules/no-mutating-props.js:58
↓ 2 callers
Function
iterateBetweenTokens
* Check whether the between given nodes has empty line. * @param {SourceCode} sourceCode * @param {ASTNode} pre * @param {ASTNode} cur
lib/rules/new-line-between-multi-line-property.js:22
↓ 2 callers
Function
iterateDefineRefs
( globalScope: Scope.Scope )
lib/utils/ref-object-references.ts:89
↓ 2 callers
Function
iterateIdentifierReferences
* Iterate references of the given identifier.
lib/utils/ref-object-references.ts:268
↓ 2 callers
Function
iteratePatternProperties
* @param {Pattern} param * @param {string[]} path * @returns {Generator<{ node: Identifier, path: string[] }>}
lib/rules/no-mutating-props.js:184
↓ 2 callers
Function
iterateTypes
* @param {Type} type * @returns {Iterable<Type>}
lib/utils/ts-utils/ts-types.js:328
↓ 2 callers
Function
kebabCaseToCamelCase
(name: string)
lib/rules/v-bind-style.ts:16
↓ 2 callers
Function
locToKey
* Gets the key of location * @param {Position} location The location * @returns {string} The key
lib/rules/comment-directive.js:244
↓ 2 callers
Function
makeError
( line: number, column: number, endLine: number, endColumn: number )
tests/lib/utils/vue-component.test.ts:30
↓ 2 callers
Function
maybeFunction
* Check whether given expression may be a function. * @param {RuleContext} context * @param {Expression} node * @returns {boolean}
lib/rules/no-use-computed-property-like-method.js:208
↓ 2 callers
Method
maybeFunctionExpression
* Check whether given expression may be a function. * @param {Expression} node * @returns {boolean}
lib/rules/no-use-computed-property-like-method.js:414
↓ 2 callers
Function
optionHasType
* @param {Expression} node * @returns {boolean|null}
lib/rules/require-prop-types.js:33
↓ 2 callers
Function
parse
(code: string)
tests/lib/utils/index.test.ts:13
↓ 2 callers
Function
parseSelector
( selector: string, context: RuleContext )
lib/utils/selector.ts:14
↓ 2 callers
Function
processEmits
* @param {ComponentEmit[]} emits
lib/rules/return-in-emits-validator.js:72
↓ 2 callers
Method
processExpression
( node: MemberExpression | Identifier, ctx: RefObjectReferenceContext )
lib/utils/ref-object-references.ts:396
↓ 2 callers
Function
processPropDefs
( props: ( ComponentObjectProp | ComponentTypeProp | ComponentInferTypeProp )[], oth
lib/rules/require-valid-default-prop.ts:247
↓ 2 callers
Function
processPropId
* @param {PropId} propId * @param {FunctionDeclaration | FunctionExpression | ArrowFunctionExpression | Program} scopeNode * @param {import(
lib/rules/no-setup-props-reactivity-loss.js:226
↓ 2 callers
Function
processProps
(props: ComponentProp[])
lib/rules/no-reserved-props.ts:48
↓ 2 callers
Function
processProps
* @param {ComponentProp[]} props * @param {(propName: string) => Expression[]} otherDefaultProvider
lib/rules/no-boolean-default.js:98
↓ 2 callers
Function
processProps
(props: ComponentProp[])
lib/rules/prop-name-casing.ts:18
↓ 2 callers
Function
processProps
* @param {ComponentProp[]} props * @param {(prop: ComponentObjectProp|ComponentTypeProp)=>boolean} [ignore]
lib/rules/require-default-prop.js:139
↓ 2 callers
Function
processProps
( props: ComponentProp[], fixPropInOtherPlaces?: ( fixer: RuleFixer, propName: str
lib/rules/no-restricted-props.ts:72
↓ 2 callers
Function
processTopLevelNode
* Set the base indentation to a given top-level AST node.
lib/utils/indent-common.ts:544
↓ 2 callers
Function
report
( node: Expression, prop: ComponentObjectProp | ComponentTypeProp | ComponentInferTypeProp,
lib/rules/require-valid-default-prop.ts:213
↓ 2 callers
Function
report
(node: ESNode, name: string)
lib/rules/no-reserved-component-names.ts:132
↓ 2 callers
Function
reportDuplicateClasses
* @param {VLiteral | Literal | TemplateElement | null} node
lib/rules/no-duplicate-class-names.js:221
↓ 2 callers
Function
reportForbiddenClass
( className: string, node: any, context: RuleContext, isForbiddenClass: (name: string) => boolean )
lib/rules/no-restricted-class.ts:8
↓ 2 callers
Function
reportIfInvalid
(node: Literal | TemplateLiteral)
lib/rules/no-reserved-component-names.ts:119
↓ 2 callers
Function
reportUnused
* Reports unused disable directive. * Do not check the use of directives here. Filter the directives used with postprocess. * @param {RuleContext} c
lib/rules/comment-directive.js:195
↓ 2 callers
Function
reportUnusedProperties
* Report all unused properties.
lib/rules/no-unused-properties.ts:360
↓ 2 callers
Function
reportUnusedRules
* Reports unused disable directive rules. * Do not check the use of directives here. Filter the directives used with postprocess. * @param {RuleCont
lib/rules/comment-directive.js:216
↓ 2 callers
Function
resolvedExpressionsInternal
* @param {Expression} node * @returns {Set<Expression>}
lib/rules/no-use-computed-property-like-method.js:50
↓ 2 callers
Function
safeRequireResolve
* @param {string} id
lib/rules/no-restricted-call-after-await.js:19
↓ 2 callers
Function
selectorToVElementMatcher
* Convert Selector child nodes to VElementMatcher
lib/utils/selector.ts:115
↓ 2 callers
Function
selectorsToVElementMatcher
* Convert nodes to VElementMatcher
lib/utils/selector.ts:65
↓ 2 callers
Function
setBaseline
* Set baseline flag to the given token.
lib/utils/indent-common.ts:266
↓ 2 callers
Function
skipWrapper
* @param {*} node * @returns {*}
lib/rules/no-async-in-computed-properties.js:54
↓ 2 callers
Function
splitByAnd
* @param {VExpression} node
lib/rules/no-dupe-v-else-if.js:46
↓ 2 callers
Function
splitByLogicalOperator
* Splits the given node by the given logical operator. * @param {string} operator Logical operator `||` or `&&`. * @param {VExpression} node The nod
lib/rules/no-dupe-v-else-if.js:27
↓ 2 callers
Function
toUnit
(char: string)
lib/rules/html-comment-indent.ts:41
↓ 2 callers
Function
validateName
(nameNode: Expression | SpreadElement)
lib/rules/multi-word-component-names.ts:60
↓ 2 callers
Function
verify
( node: ObjectExpression, test: Tester, customMessage: string | undefined, path: strin
lib/rules/no-restricted-component-options.ts:164
↓ 2 callers
Function
verify
* @param {Pattern} left * @param {Expression | null} right * @param {ScopePropsReferences} propsReferences
lib/rules/no-setup-props-reactivity-loss.js:120
↓ 2 callers
Function
verify
(node: ObjectExpression)
lib/rules/no-restricted-component-names.ts:94
↓ 2 callers
Function
verify
* Verify the given node * @param {MemberExpression | Identifier} node The node to verify
lib/rules/no-multiple-slot-args.js:31
↓ 2 callers
Function
verify
* Verify the given node * @param {MemberExpression | Identifier | ChainExpression} node The node to verify * @param {Expression} reportNode
lib/rules/require-slots-as-functions.js:39
↓ 2 callers
Method
verifyCallMember
* @param {CallMember} call
lib/rules/no-use-computed-property-like-method.js:387
↓ 2 callers
Function
verifyEmitDeclaration
(emit: ComponentEmit)
lib/rules/prefer-single-event-payload.ts:104
↓ 2 callers
Function
verifyPropVariable
* @param {Identifier} prop * @param {string[]} path
lib/rules/no-mutating-props.js:227
↓ 2 callers
Function
verifyProps
@param {ComponentProp[]} props
lib/rules/require-prop-type-constructor.js:81
↓ 2 callers
Function
verifyProps
(props: ComponentProp[])
lib/rules/require-prop-comment.ts:74
↓ 2 callers
Function
verifyRefObjectValue
* Verify the given ref object value. `refObj = ref(); refObj.value;`
lib/rules/no-ref-object-reactivity-loss.ts:76
↓ 2 callers
Function
verifyReturnTypes
({ prop, types: typeNames, default: defType }: PropDefaultFunctionContext)
lib/rules/require-valid-default-prop.ts:230
↓ 2 callers
Function
wrapRuleModule
* Wrap a given rule to apply it to Vue.js template. * @param {RuleModule} baseRule The rule implementation to wrap. * @param {string} ruleName The n
lib/utils/index.js:552
↓ 1 callers
Method
acquire
(node: VAST.ESNode | VAST.Program, inner?: boolean)
typings/eslint/index.d.ts:30
↓ 1 callers
Function
addAll
(set: Set<T>, iterable: Iterable<T>)
lib/rules/no-reserved-component-names.ts:37
↓ 1 callers
Function
addDisableRule
( disableRuleKeys: GroupState['disableRuleKeys'], rule: string, key: string )
lib/processor.ts:130
↓ 1 callers
Function
addEmitCallByReference
* @param {Expression | Super} callee * @param {Set<Identifier>} referenceIds * @param {CallExpression} node *
lib/rules/no-unused-emit-declarations.js:157
↓ 1 callers
Method
addName
(...names: string[])
lib/rules/no-undef-components.ts:67
↓ 1 callers
Method
addReturnStatement
* Adds the given return statement to the return value of the function. * @param {FunctionExpression | ArrowFunctionExpression | FunctionDeclaration
lib/rules/no-use-computed-property-like-method.js:369
↓ 1 callers
Function
addToClassAttribute
* Add class to static `class` attribute.
lib/rules/prefer-separate-static-class.js:228
↓ 1 callers
Method
adjustCodeBlocks
()
tools/update-docs.js:173
↓ 1 callers
Function
allReferences
()
lib/utils/index.js:2831
↓ 1 callers
Function
anyWith
(opts: RuleOptions)
tests/lib/rules/html-self-closing.test.ts:39
↓ 1 callers
Function
appendToLastClassName
* Append the given token to the last non-whitespace item in `kept`. * @param {string[]} kept * @param {string} token
lib/rules/no-duplicate-class-names.js:126
↓ 1 callers
Function
applyPreferOption
* @param {NormalizeOptions} opts * @param {PreferOption} prefer
lib/rules/component-api-style.js:38
↓ 1 callers
Function
attributeNodeToVElementMatcher
* Convert Attribute node to VElementMatcher
lib/utils/selector.ts:259
↓ 1 callers
Function
buildFix
* @param {ExportDefaultDeclaration} node * @param {VElement} scriptSetup * @returns {(fixer: RuleFixer) => Fix[]}
lib/rules/prefer-define-options.js:73
↓ 1 callers
Function
buildFix
* @param {string} text
lib/rules/require-expose.js:340
↓ 1 callers
Function
buildMatcher
(str: string)
lib/rules/no-restricted-component-names.ts:15
↓ 1 callers
Function
buildOptionPhrase
* @param {string} name
lib/rules/component-api-style.js:196
↓ 1 callers
Function
buildOrOperands
* @param {VExpression} node * @returns {OrOperands}
lib/rules/no-dupe-v-else-if.js:54
↓ 1 callers
Function
buildPseudoNthOfTypeVElementMatcher
* Build VElementMatcher for :nth-xxx-of-type()
lib/utils/selector.ts:556
↓ 1 callers
Function
buildPseudoNthVElementMatcher
* Build VElementMatcher for :nth-xxx()
lib/utils/selector.ts:544
↓ 1 callers
Function
buildSuggest
( define: ObjectExpression | Program, emits: ComponentEmit[], nameWithLoc: NameWithLoc, context: RuleC
lib/rules/require-explicit-emits.ts:428
↓ 1 callers
Function
buildSuggest
* @param {ObjectExpression} object * @param {RuleContext} context * @returns {Rule.SuggestionReportDescriptor[]}
lib/rules/require-expose.js:303
↓ 1 callers
Function
buildTester
(index: number)
lib/rules/no-restricted-component-options.ts:56
↓ 1 callers
Function
camelize
* `casing.camelCase()` converts the beginning to lowercase, * but does not convert the case of the beginning character when converting with Vue3. *
lib/rules/no-undef-components.ts:19
↓ 1 callers
Function
canConvertFromSlotToVSlot
* Checks whether the given node can convert to the `v-slot`.
lib/rules/syntaxes/slot-attribute.ts:28
↓ 1 callers
Function
canConvertFromVBindSlotToVSlot
* Checks whether the given node can convert to the `v-slot`.
lib/rules/syntaxes/slot-attribute.ts:43
↓ 1 callers
Function
canConvertToSlot
* Checks whether the given node can convert to the `slot`. * @param {VDirective} vSlotAttr node of `v-slot` * @returns {boolean} `true` if the given
lib/rules/syntaxes/v-slot.js:12
↓ 1 callers
Function
checkArrayExpression
* @param {ArrayExpression} node * @param {RuleContext} context
lib/rules/prefer-prop-type-boolean-first.js:13
↓ 1 callers
Function
checkAttributeSameName
(node: VBindDirective)
lib/rules/v-bind-style.ts:111
↓ 1 callers
Function
checkAttributeStyle
(node: VBindDirective)
lib/rules/v-bind-style.ts:70
↓ 1 callers
Function
checkChildKey
* Check the child element in tempalte v-for about `v-bind:key` attributes. * @param {RuleContext} context The rule context to report. * @param {VDir
lib/rules/valid-v-for.js:36
↓ 1 callers
Function
checkCommentClose
* Reports the space after the contents of a given comment if it's invalid.
lib/rules/html-comment-content-spacing.ts:112
↓ 1 callers
Function
checkCommentClose
* Reports the space after the contents of a given comment if it's invalid.
lib/rules/html-comment-content-newline.ts:146
↓ 1 callers
Function
checkCommentOpen
* Reports the space before the contents of a given comment if it's invalid.
lib/rules/html-comment-content-spacing.ts:60
↓ 1 callers
Function
checkCommentOpen
* Reports the newline before the contents of a given comment if it's invalid.
lib/rules/html-comment-content-newline.ts:99
↓ 1 callers
Function
checkExpressionReference
* @param {Expression | SpreadElement} expression * @param {SetupContext} setupContext * @returns {boolean} *
lib/rules/no-unused-emit-declarations.js:103
↓ 1 callers
Function
checkForIrregularWhitespace
* Checks the program source for irregular whitespaces and irregular line terminators * @returns {void} * @private
lib/rules/no-irregular-whitespace.js:155
↓ 1 callers
Function
checkForKey
( node: VElement, context: RuleContext, componentName: string, uniqueKey: string, conditionalFamilie
lib/rules/v-if-else-key.ts:58
↓ 1 callers
Method
checkGoodBadSymbols
()
tools/update-docs.js:251
↓ 1 callers
Method
checkHeadings
()
tools/update-docs.js:215
← previous
next →
201–300 of 2,001, ranked by callers