Created
May 21, 2012 19:22
-
-
Save irae/2764095 to your computer and use it in GitHub Desktop.
my jslintrc
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
{ | |
/*** Globals ***/ | |
// To ignore any custom global variables, enable the `predef` option and list | |
// your variables within it. | |
"predef": [ | |
"exports", | |
"YUITest", | |
"YUI", | |
"YUI_config", | |
"YAHOO", | |
"YAHOO_config", | |
"Y", | |
"global", | |
"process", | |
"require", | |
"__filename", | |
"module", | |
"document", | |
"navigator", | |
"console", | |
"window" | |
], | |
/*** Enforcing options ***/ | |
// Set these to `true` to enforce, or `false` to relax. | |
"adsafe": false, | |
"safe": false, | |
/*** Relaxing options ***/ | |
// Set these to `true` to relax, or `false` to enforce. | |
"bitwise": false, | |
"cap": false, | |
"confusion": true, | |
"continue": true, | |
"css": true, | |
"debug": false, | |
"eqeq": false, | |
"es5": true, | |
"evil": false, | |
"forin": false, | |
"fragment": true, | |
"newcap": false, | |
"nomen": false, | |
"on": false, | |
"plusplus": false, | |
"regexp": true, | |
"sloppy": false, | |
"sub": false, | |
"undef": false, | |
"unparam": true, | |
"vars": true, | |
"white": false, | |
"validthis": true, | |
"strict_mode":true, | |
/*** Environments ***/ | |
// Set each environment that you're using to `true`. | |
"browser": true, | |
"devel": false, | |
"node": true, | |
"rhino": false, | |
"widget": false, | |
"windows": false, | |
/*** Miscellaneous ***/ | |
"indent": 4, | |
"maxerr": 50, | |
// "maxlen": 80, | |
"passfail": false | |
} |
Hi, since yesterday I'm using the atom editor, I have set the things up like in you config but it seem to me that the jslintrc it never get's applied, is there any other configuration that I'm missing ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
You use this file in Jenkins?
If so, where I have to put this file to Jenkins JSLint Plugin work with him?
Thanks!