ConstantResolution: Should constants like ARGV be allowed? #11943
okuramasafumi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that
Lint/ConstantResolution
cop treatsARGV
as a constant and says we should fully qualify it. However:This looks ugly. The name
ARGV
comes from tradition and we don't want to treat it as a "constant" while technically it is. The same applies toSTDOUT
, for instance.So I suggest that we should discuss the default "Ignore" option value for that cop.
Beta Was this translation helpful? Give feedback.
All reactions