Skip to content

vue/no-duplicate-attributes ​

Remove the duplicate attribute from the template tag

PropertyValue
CategoryCorrectness
Default Severityerror
Confidencehigh
FixableNo
Engineeslint-template
Sincev1.0.0
Frameworksvue, nuxt

Why it matters ​

Remove the duplicate attribute from the template tag

How to fix ​

Review the finding and update the code according to best practices below.

Agent Guidance ​

Remove the repeated attribute from the element; merge class/style values if both are needed.


Rule source: vue/no-duplicate-attributes

Released under the MIT License.