Skip to content

[Feature Request] Add nuxt/prefer-nuxt-link rule #624

@laizp

Description

@laizp

Describe the feature

As <NuxtLInk> could handle any kind of links, there is a reason to use <NuxtLink> as a unified form of linking instead of mixing <NuxtLink> and <a> tags. So we can add a nuxt/prefer-nuxt-link rule to restrict the use of the <a> tags.

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

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