Skip to content

Support for defineModel #2130

Closed
Closed
@ota-meshi

Description

@ota-meshi

Tell us about your environment

  • ESLint version: v8.36.0
  • eslint-plugin-vue version: v9.10.0
  • Node version: v18.12.1

The problem you want to solve.

Add support for defineModel macro.

See https://github.com/vuejs/core/blob/main/CHANGELOG.md#330-alpha9-2023-04-08

Your take on the correct solution to problem.

Parser and some rules are affected. However, we have not yet listed the affected rules.
I think that, first, we need to list the rules affected by defineModel.

Additional context

Related to vuejs/vue-eslint-parser#186

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions