adding JSHint configuration
This commit is contained in:
parent
2db412873b
commit
f90ad11bcd
1 changed files with 27 additions and 0 deletions
27
.jshintrc
Normal file
27
.jshintrc
Normal 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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue