Skip to content

9.19.0 bug with vue/v-on-event-hyphenation #2332

Closed
@ElectricS01

Description

@ElectricS01

Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have read the FAQ and my problem is not listed.

Tell us about your environment

  • ESLint version: 8.54.0
  • eslint-plugin-vue version: 9.19.0
  • Node version: 18
  • Operating System: macOS

Please show your full configuration:

module.exports = {
  root: true,
  env: {
    node: true
  },
  plugins: ["prettier"],
  extends: [
    "plugin:vue/vue3-recommended",
    "eslint:recommended",
    "@vue/eslint-config-typescript",
    "prettier"
  ],
  rules: {
    "vue/multi-word-component-names": "off",
    "vue/no-reserved-component-names": "off"
  }
};

What did you do?
Breaks on running eslint . --fix --ignore-path .gitignore when the option plugin:vue/vue3-recommended or higher is in the .eslintrc.cjs

Oops! Something went wrong! :(

ESLint: 8.54.0

Error: .eslintrc.cjs » plugin:vue/vue3-recommended » /Users/electrics01/GitHub/PrivateUploader/frontend/node_modules/eslint-plugin-vue/lib/configs/vue3-strongly-recommended.js:
        Configuration for rule "vue/v-on-event-hyphenation" is invalid:
        Value {"autofix":true} should be equal to one of the allowed values.

Repository to reproduce this issue
Use any with 9.19.0 and plugin:vue/vue3-recommended

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