The one-var rule only applies to 'var' where it matters that we
don't let the engine implicitly hoist variables leading to
confusing code that may be unsafe to refactor in a straight-forward
manner.
This doesn't apply to ES6 const and let. While I updated the
rule in
|
||
|---|---|---|
| .. | ||
| createaccount.page.js | ||
| delete.page.js | ||
| edit.page.js | ||
| history.page.js | ||
| preferences.page.js | ||
| recentchanges.page.js | ||
| restore.page.js | ||
| undo.page.js | ||
| watchable.page.js | ||
| watchlist.page.js | ||