Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
my jslintrc
{
/*** 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
}
@JoeVogel

This comment has been minimized.

Copy link

@JoeVogel JoeVogel commented Nov 21, 2014

Hi!

You use this file in Jenkins?
If so, where I have to put this file to Jenkins JSLint Plugin work with him?

Thanks!

@FrancoAguilera

This comment has been minimized.

Copy link

@FrancoAguilera FrancoAguilera commented Apr 1, 2015

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