💅 noDuplicateJsonKeys
always marks the first key in object
#2366
Labels
A-Linter
Area: linter
L-JSON
Language: JSON and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
Rule name
noDuplicateJsonKeys
Playground link
https://biomejs.dev/playground/?indentStyle=space&indentWidth=8&lintRules=all&files.main.json=ewAKACAAIAAiAG8AcAB0AGkAbwBuADEAIgA6ACAAIgBPAHAAdABpAG8AbgAgADEAIgAsAAoAIAAgACIAbwB0AGgAZQByAE8AcAB0AGkAbwBuACIAOgAgACIATwB0AGgAZQByACAAbwBwAHQAaQBvAG4AIgAsAAoAIAAgACIAZAB1AHAAbABpAGMAYQB0AGUASwBlAHkAIgA6ACAAIgBEAHUAcABsAGkAYwBhAHQAZQAgAGsAZQB5ACIALAAKACAAIAAiAGQAdQBwAGwAaQBjAGEAdABlAEsAZQB5ACIAOgAgACIARAB1AHAAbABpAGMAYQB0AGUAIABrAGUAeQAiACwACgAgACAAIgBsAGEAcwB0AE8AcAB0AGkAbwBuACIAOgAgACIATABhAHMAdAAgAG8AcAB0AGkAbwBuACIACgB9AA%3D%3D
Expected result
The lint error should be at the key that is actually a duplicate.
Code of Conduct
The text was updated successfully, but these errors were encountered: