I recently installed JSHint via Package Manager in Sublime Text 2. As part of my job, I need to edit .coffee files, which JSHint throws all kinds of errors on. I'm unable to identify any preference files or other means of disabling JSHint on these files.

Is it possible to selectively disable JSHint on certain file extensions?

有帮助吗?

解决方案

You can create a .jshintignore file at the top level with this in it:

*.coffee
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top