mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
adding JSHint configuration
This commit is contained in:
parent
2db412873b
commit
f90ad11bcd
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 New Issue
Block a user