Skip to content

Vue 2/3 Eslint rules #2015

@octref

Description

@octref

Currently, if you start a project with Vue 3 and is using multi-root elements:

image

I'm planning to turn automatic template validation based on eslint off, so this wouldn't mislead users.

In the long term, I hope there could be 2 eslint rulesets, one for Vue 2 and one for Vue 3. Depending on the vue dependency version in package.json, choose which one to load.

@ota-meshi it seems you are doing a lot of work for the eslint-vue plugin. Would you be able to help creating the rulesets, or tell me which rules I should/shouldn't load for Vue 3?

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