adding JSHint configuration

This commit is contained in:
El RIDO 2018-01-06 08:05:27 +01:00
parent 2db412873b
commit f90ad11bcd
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

27
.jshintrc Normal file
View File

@ -0,0 +1,27 @@
{
"bitwise": true,
"curly": true,
"eqeqeq": true,
"esversion": 5,
"forin": true,
"freeze": true,
"futurehostile": true,
"latedef": "nofunc",
"maxcomplexity": 7,
"maxdepth": 3,
"maxparams": 3,
"maxstatements": 100,
"noarg": true,
"nonbsp": true,
"nonew": true,
"singleGroups": true,
"strict": "global",
"undef": true,
"unused": true,
"jquery": true,
"globals": {
"sjcl": false,
"DOMPurify": false
}
}