# wxml/no-duplicate-attributes
# Motivation
This rule enforce developer don't write multi duplicate attributes
<!-- ✓ GOOD -->
<view
title="{{title}}"
name="{{name}}"
>
<goods />
</view>
<!-- ✗ BAD -->
<view
title="{{title}}"
name="{{name}}"
name="{{other}}"
>
<goods />
</view>
💡 tips
You can edit code via online editor, it's online REPL, try to fix eslint problem !
# Config
No special options, normal config is ok
{ "wxml/no-duplicate-attributes": "error" }
# Version
This rule was introduced in eslint-plugin-wxml v0.2.1