Suppose I have a module vector, containing a Vector2 type. This seems fine to me – I can't name the type 2, after all. However module_name_repetitions disagrees.
Maybe this should apply to all short affixes more generally (one or perhaps two letters). I'm not sure.
Summary
Suppose I have a module
vector
, containing aVector2
type. This seems fine to me – I can't name the type2
, after all. Howevermodule_name_repetitions
disagrees.Maybe this should apply to all short affixes more generally (one or perhaps two letters). I'm not sure.
Lint Name
module_name_repetitions
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen: [no error]
Version
Additional Labels
No response