If you must reassign references, use let instead of var. It allows you to create variables with block scope instead of function scope.
Use const for all of your references where the value of the refrence is not going to change. This rule is aimed at flagging variables that are declared using let keyword, but never reassigned after the initial assignment. This also ensures that you don't accidently reassign your references, which may lead to bugs and difficult to comprehend code.
Note: Both let and const are block-scoped.