💅 lint/correctness/noStringCaseMismatch
false positives
#3134
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
Rule name
noStringCaseMismatch
Playground link
https://biomejs.dev/playground/?code=aQBmACAAKAAiACIALgB0AG8AVQBwAHAAZQByAEMAYQBzAGUAKAApACAAPQA9AD0AIAAiAFwAdQAwADAAMQBCACIAKQAgAHsACgAgACAALwAvACAARQBzAGMAYQBwAGUACgB9AAoACgBpAGYAIAAoACIAIgAuAHQAbwBMAG8AdwBlAHIAQwBhAHMAZQAoACkAIAA9AD0APQAgACIAXAB1ADAAMAAxAEIAIgApACAAewAKACAAIAAvAC8AIABFAHMAYwBhAHAAZQAKAH0ACgAKAGkAZgAgACgAIgAiAC4AdABvAFUAcABwAGUAcgBDAGEAcwBlACgAKQAgAD0APQA9ACAAIgBcAHUAMAAwADAARAAiACkAIAB7AAoAIAAgAC8ALwAgAFIAZQB0AHUAcgBuAAoAfQAKAAoAaQBmACAAKAAiACIALgB0AG8ATABvAHcAZQByAEMAYQBzAGUAKAApACAAPQA9AD0AIAAiAFwAdQAwADAAMABEACIAKQAgAHsACgAgACAALwAvACAAUgBlAHQAdQByAG4ACgB9AAoA
Expected result
The
noStringCaseMismatch
always reports\u001B
(escape) or\u000D
(return) as mistakes. I think these should be simply excluded similarly how\u0020
(space) is excluded.Code of Conduct
The text was updated successfully, but these errors were encountered: