Skip to content

refactor: use const instead of let for variable declarations#4196

Merged
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:const
Jul 6, 2026
Merged

refactor: use const instead of let for variable declarations#4196
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:const

Conversation

@KristjanESPERANTO

@KristjanESPERANTO KristjanESPERANTO commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

This replaces let with const for variable declarations where it was possible. Using const is considered best practice.

I have enabled the corresponding ESLint rule and let the ESLint auto-fix the "wrong" usages of let.

@khassel

khassel commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

@KristjanESPERANTO can you correct the description "This replaces const with let for " before merge?

@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator Author

@khassel Thanks 😅 Done 🙂

@khassel khassel merged commit cdab7a7 into MagicMirrorOrg:develop Jul 6, 2026
12 checks passed
@KristjanESPERANTO KristjanESPERANTO deleted the const branch July 6, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants