💅 useNamingConvention
forbids the readonly
modifier for indexParameter
selector kind
#4277
Closed
1 task done
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
style/useNamingConvention
Playground link
https://github.com/sepruko/biome-repro/tree/style/use-naming-convention-0
Expected result
When configured to ensure index parameters with the
readonly
modifier are of specific formats and/or patterns, it should successfully parse its configuration file and emit the correct diagnostics.The TypeScript Handbook clearly includes an example showing an index parameter marked as
readonly
, and the officialtsc
compiler has no issue handling this code.Code of Conduct
The text was updated successfully, but these errors were encountered: