Skip to content

jsguide: Please verify - MyClass.RETRY_COUNT #595

Open
@manoharreddyporeddy

Description

@manoharreddyporeddy

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions