Kristjan ESPERANTO
|
cdab7a7ea3
|
refactor: use const instead of let for variable declarations (#4196)
This replaces `let` with `const` for variable declarations where it was
possible. Using `const` [is considered best
practice](https://www.xjavascript.com/blog/in-javascript-why-should-i-usually-prefer-const-to-let/#5-best-practices-const-first-let-second).
I have enabled the corresponding ESLint rule and let the ESLint auto-fix
the "wrong" usages of `let`.
|
2026-07-06 22:47:58 +02:00 |
|