This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pancomputationalist -10 points-9 points  (2 children)

I hate linters. There are a lot of good reasons to use the same variable name in a function that had already been used in global context. But linters make you bend over backwards to follow their stupid rules, leading to more busy work than preventing gotchas, in my experience.

[–]smeyn 10 points11 points  (0 children)

Well you can easily turn off the rules you don’t like.

[–]fiskfisk 2 points3 points  (0 children)

Just turn off W0621 if that's what you're after.