This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 false positive for noShoutyConstants on empty strings #3867
Labels
A-Linter
Area: linter
L-JavaScript
Langauge: JavaScript
S-Bug: confirmed
Status: report has been confirmed as a valid bug
Environment information
According https://rome.tools/docs/lint/rules/noShoutyConstants/
Such code snippet should not emit a warning:
https://docs.rome.tools/playground/?code=YwBvAG4AcwB0ACAAQQAgAD0AIAAiACIACgBjAG8AbgBzAHQAIABCACAAPQAgAEEA&typescript=false&jsx=false
If it's alright, I'd like to take this issue on and open a PR.
What happened?
Rome emitted a diagnostic.
Expected result
This code snippet will not raise an error.
Code of Conduct
The text was updated successfully, but these errors were encountered: