I use code-climate integration in GitHub for a project and one of the engines in code climate is eslint. As of now, whenever a pull request is raised, eslint engine runs and checks for any issues and this is consuming a lot of time. The engines runs even if the changed files list does not contain a .js file.
Is there any way to run eslist only if there are changed .js files in the pull request? I know that eslint can be configured to check js files only. But what I need is to stop running eslint engine altogether if there are no js files in the changed files list.