.eslintrc.json
{
"extends": "@mgtitimoli/eslint-config/variables"
}
Prevents shallowing (declare local variables that takes precedence over the ones in higher scopes) native references
{
"no-shadow-restricted-names": "error"
}
Disallows the explicit (and unnecessary) use of undefined on variables initialization
{
"no-undef-init": "error"
}
Disallows the use of variables before defined them
{
"no-use-before-define": "error"
}