Unused local variables and functions are highlighted by SonarLint as a top issue, particularly in TypeScript code, due to their potential impact on readability, performance, and even bugs. These issues can cause problems such as code bloat, memory leaks, and human errors like passing incorrect arguments to functions. The rule aims to remove or fix unused variables and functions to keep the code clean and avoid potential issues, making it an essential part of maintaining good coding practices.