DEV Community

Discussion on: Stop waving the wand of magic numbers

Collapse
 
gmartigny profile image
Guillaume Martigny

The default value for "detectObjects" seems to be false, meaning it will allow you to put magic numbers inside objects (like you do). You don't have to activate the rule, and I think constants under "enums" is a great thing.