Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DouglasCalora opened this issue May 28, 2025 · 0 comments

Comments

@DouglasCalora
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant