This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 useLiteralKeys
doesn't ignore valid uses of square bracket notation
#4370
Labels
Environment information
What happened?
This may be as intended, but then it differs in an important way from eslint
dot-notation
.See below
There is no way to specify a literal key while also allowing special characters, the rule must then be ignored to allow this line to happen. Sometimes square bracket notation is unavoidable.
Expected result
The rule should allow valid uses of square bracket notation
Code of Conduct
The text was updated successfully, but these errors were encountered: