This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
[Rule change] no-magic-numbers
, ignore constructor defaults.
#1183
Labels
What rule do you want to change?
no-magic-numbers
What change to do you want to make?
Generate fewer warnings
How do you think the change should be implemented?
A new default behavior
Example code
What does the rule currently do for this code?
Sometimes methods have arbitrary defaults. The rule currently shows up as a warning for all said deafult values.
What will the rule do after it's changed?
Ignore method default values i.e. magic constants within
[...]
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: