JSHint

JSHint is a tool that helps to detect errors and potential problems in your JavaScript code.