Skip to content

vue/no-v-text #1435

Closed
Closed
@inker

Description

@inker

Please describe what the rule should do:

This rule would report usage of v-text.

What category should the rule belong to?

[X] Enforces code style (layout)
[ ] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)

Provide 2-3 code examples that this rule should warn about:

<template>
  <div v-text="foobar" />
</template>

Additional context

This issue can be fixable. The above code would be fixed to:

<template>
  <div>
    {{foobar}}
  </div>
</template>

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