There's a TODO comment in our [ESLint rules](https://searchfox.org/mozilla-central/rev/f40d29a11f2eb4685256b59934e637012ea6fb78/browser/components/newtab/.eslintrc.js#225) to flip prefer-const to on (it's currently off). Most of the violators should be auto-fixable so this may not be too hard to switch on.
Bug 1806583 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
There's a TODO comment in our [ESLint rules](https://searchfox.org/mozilla-central/rev/f40d29a11f2eb4685256b59934e637012ea6fb78/browser/components/newtab/.eslintrc.js#225) to flip prefer-const to on (it's currently off). Most of the violators should be auto-fixable so this may not be too hard to switch on. [Here's the rule](https://eslint.org/docs/latest/rules/prefer-const) for reference