63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
{
|
|
//See: http://www.jshint.com/docs/options/
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//Enforcements
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
"bitwise": true,
|
|
"browser": true,
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"eqnull": true,
|
|
"freeze": true,
|
|
"immed": true,
|
|
"indent": 2,
|
|
"jasmine": true,
|
|
"latedef": "nofunc",
|
|
"laxbreak": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonbsp": true,
|
|
"nonew": true,
|
|
"quotmark": "single",
|
|
//"strict": true, //TODO: tackle this monster. Could provide speedups
|
|
//"unused": "vars", //TODO: tackle this monster
|
|
"undef": true,
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//Relaxations
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
"sub": true, //TODO: consider removing this relaxation
|
|
|
|
|
|
//Globals
|
|
"globals": {
|
|
"jQuery": true,
|
|
"angular": true,
|
|
"console": true,
|
|
"$": true,
|
|
"_": true,
|
|
"moment": true,
|
|
"describe": true,
|
|
"beforeEach": true,
|
|
"afterEach": true,
|
|
"module": true,
|
|
"inject": true,
|
|
"it": true,
|
|
"expect": true,
|
|
"Timeline": true,
|
|
"d3": true,
|
|
"ngGridLayoutPlugin": true,
|
|
"tinymce": true,
|
|
"SockJS": true,
|
|
"Stomp": true,
|
|
"paper": true,
|
|
"validthis": true
|
|
}
|
|
}
|