forked from mementoweb/Server.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.jshintrc
More file actions
20 lines (20 loc) · 694 Bytes
/
.jshintrc
File metadata and controls
20 lines (20 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"expr": true, // Allow expressions where statements are allowed.
"boss": true, // Allow statements where expressions are allowed.
"loopfunc": true, // Allow function creation in loops.
"undef": true, // Variables should be defined.
"trailing": true, // Do not leave trailing whitespace.
"white": true, // Enable strict whitespace checking.
"indent": 2, // The code uses an indentation width of 2 spaces.
"node": true, // Node.js is present.
"-W082": true, // Allow function creation in blocks.
"globals": {
"it": true,
"describe": true,
"before": true,
"after": true,
"expect": true,
"sinon": true,
"test": true
}
}