Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vue/v-on-handler-style add "neve" behaviour from old "vue/v-on-function-call" #2749

Open
@DouglasCalora

Description

I updated my lib to v10 and saw some breaking changes...
I changed my old "vue/v-on-function-call"

'vue/v-on-function-call': [
 'error',
 'never',
 {
 ignoreIncludesComment: false
 }
]

But I didn't find a similar behavior to "never", am I doing something wrong?

never behaviour:

<template>
 <!-- ✓ GOOD -->
 <button v-on:click="closeModal">Close</button>
 <button v-on:click="closeModal(arg)">Close</button>
 <!-- ✗ BAD -->
 <button v-on:click="closeModal()">Close</button>
</template>

I have my component that now throw errors but before worked fine:

<div class="flex justify-between q-mb-xl">
 <qas-btn
 label="Esqueci o e-mail"
 variant="tertiary"
 @click="redirectToAuthForgotten('email')"
 />
 <qas-btn
 label="Esqueci a senha"
 variant="tertiary"
 @click="redirectToAuthForgotten('password')"
 />
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /