Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(JS-0242) Use const declarations for variables that are never reassigned #673

Open
robotichead opened this issue Oct 4, 2024 · 3 comments

Comments

@robotichead
Copy link
Collaborator

Description

Variables that are never re-assigned a new value after their initial declaration should be declared with the const keyword. This prevents the programmer from erroneously re-assigning to a read-only variable, and informs those reading the code that a variable is a constant value.

Occurrences

There are 61 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/nearbeach/NearBeach/issue/JS-0242/occurrences/

@Vinayyy19
Copy link

I'm interested in working on this. Can you assign it to me ?

@aidanjbennett
Copy link
Contributor

I am down to help with this issue. Can you assign me this issue.

@RashmitTopG
Copy link
Contributor

Fixed the issue can you check it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants