文件夹下放置.jshintrc文件
{
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc
// Documentation: http://www.jshint.com/docs/
"browser": true,
"esnext": true,
"globals": {},
"globalstrict": true,
"quotmark": true,
"undef": true,
"unused": true
}
http://jshint.com/docs/ http://segmentfault.com/q/1010000000145066 https://github.com/basecss/jshint-doc-cn/blob/master/options.md http://bubkoo.com/2014/02/22/JSHint-options/ http://jarontai.github.io/blog/2014/11/28/sublime-jshint/