A linter is very useful for finding semantic bugs. For example mistypes in variable names, wrong scopes, const for reassignable variables, double declarations or missing declarations, etc.
In addition ESLint is also a style linter. That means, it looks for violations of your code styling decisions (for example tab or spaces, semicolons or not, etc). This is useful for collaborative projects and working in teams.