How do you configure JSHint options globally in Sublime Text 2?
问题 I'd like to turn off particular warnings globally when using Sublime Text 2's JSHint plugin. For instance, "laxcomma". I tried editing the .jshintrc file in JSHint's Sublime Packages folder, but this did not work. { "laxcomma": true } Adding a project specific .jshintrc file with the same options solves the issue for that particular project, but I would like these options to be global. Any suggestions? 回答1: From the JSHint docs page: http://www.jshint.com/docs/ JSHint will look for this file