Created
June 13, 2012 22:31
-
-
Save paulirish/2926904 to your computer and use it in GitHub Desktop.
My SublimeLinter.sublime-settings file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"// my options for SublimeLinter " : "//", | |
"jshint_options" : { | |
"boss": true, | |
"browser": true, | |
"curly": false, | |
"devel": true, | |
"eqeqeq": false, | |
"eqnull": true, | |
"expr": true, | |
"evil": true, | |
"immed": false, | |
"laxcomma": true, | |
"newcap": false, | |
"noarg": true, | |
"smarttabs": true, | |
"sub": true, | |
"undef": true, | |
"// predefined globals " : "//", | |
"predef" : [ | |
"_", | |
"__dirname", | |
"require", | |
"jasmine", | |
"describe", | |
"xdescribe", | |
"it", | |
"xit", | |
"beforeEach", | |
"afterEach", | |
"expect", | |
"spyOn", | |
"runs", | |
"waits", | |
"waitsFor", | |
"Benchmark", | |
"Raphael", | |
"Backbone", | |
"Modernizr", | |
"Ext", | |
"_gaq" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like more inline docs like in https://github.com/jshint/node-jshint/blob/master/example/defaults.json
could also use https://github.com/jshint/jshint/blob/de218d82e659b3994ea0e62b9be6625e699c08fc/jshint.js#L257-330