jsx-no-duplicate-props
Added in v0.5.0Configuration
rslint.config.ts
Disallow duplicate properties in JSX.
Rule Details
Creating JSX elements with duplicate props can cause unexpected behavior in your application.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
Rule Options
ignoreCase
When true the rule ignores the case of the props. Defaults to false.
Examples of incorrect code for this rule with { "ignoreCase": true }: