#586 add hoisting check to no-unreachable