styleguide
styleguide copied to clipboard
jsguide: Please verify - MyClass.RETRY_COUNT
Please verify if MyClass.RETRY_COUNT is correct
https://google.github.io/styleguide/jsguide.html#jsdoc-property-comments
MyClass.RETRY_COUNT = 33;
- Is the above conflicting the below?
https://google.github.io/styleguide/jsguide.html#features-classes-fields
"Set all of a concrete object’s fields (i.e. all properties other than methods) in the constructor."
- Or is this a bug/ were you intending to export as below? exports.RETRY_COUNT = 33; instead of MyClass.RETRY_COUNT = 33;