--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.jsx --- # Input ```jsx //Duplicate `name` property ; //Case where property is repeated more than twice ; //Case with two duplicates ; ``` # Diagnostics ``` invalid.jsx:2:8 lint/suspicious/noDuplicateJsxProps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This JSX property is assigned multiple times. 1 │ //Duplicate `name` property > 2 │ ; │ ^^^^^^^^^^^ 3 │ 4 │ //Case where property is repeated more than twice i This attribute is assigned again here. 1 │ //Duplicate `name` property > 2 │ ; │ ^^^^^^^^^^^ 3 │ 4 │ //Case where property is repeated more than twice ``` ``` invalid.jsx:5:8 lint/suspicious/noDuplicateJsxProps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This JSX property is assigned multiple times. 4 │ //Case where property is repeated more than twice > 5 │ ; │ ^^^^^^^^^^^ 6 │ 7 │ //Case with two duplicates i This attribute is assigned again here. 4 │ //Case where property is repeated more than twice > 5 │ ; │ ^^^^^^^^^^^ 6 │ 7 │ //Case with two duplicates i This attribute is assigned again here. 4 │ //Case where property is repeated more than twice > 5 │ ; │ ^^^^^^^^^^^ 6 │ 7 │ //Case with two duplicates ``` ``` invalid.jsx:8:8 lint/suspicious/noDuplicateJsxProps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This JSX property is assigned multiple times. 7 │ //Case with two duplicates > 8 │ ; │ ^^^^^^^^^^^ 9 │ 10 │ i This attribute is assigned again here. 7 │ //Case with two duplicates > 8 │ ; │ ^^^^^^^^^^^ 9 │ 10 │ ``` ``` invalid.jsx:8:32 lint/suspicious/noDuplicateJsxProps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This JSX property is assigned multiple times. 7 │ //Case with two duplicates > 8 │ ; │ ^^^^^^^^^^^^^^ 9 │ 10 │ i This attribute is assigned again here. 7 │ //Case with two duplicates > 8 │ ; │ ^^^^^^^^^^^^^^ 9 │ 10 │ ``` ``` invalid.jsx:10:8 lint/suspicious/noDuplicateJsxProps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This JSX property is assigned multiple times. 8 │ ; 9 │ > 10 │ │ ^^^^^^^^^^^^^^^^ 11 │ i This attribute is assigned again here. 8 │ ; 9 │ > 10 │ │ ^^^^^^^^^^^^^^^^ 11 │ ```