forked from AdeleD/react-paginate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
31 lines (29 loc) · 1.12 KB
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"browser" : true, // Web Browser (window, document, etc)
"camelcase" : true,
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"devel" : true, // Development/debugging (alert, confirm, etc)
"immed" : false, // true: Require immediate invocations to be wrapped
// in parens e.g. `(function () { } ());`
"indent" : 2,
"jquery": true,
"latedef" : true, // true: Require variables to be defined before use
// (helps avoid hoisting bugs)
"maxlen" : 80, // {int} Max number of characters per line
"node" : true, // Node.js
"strict": true, // Strict mode
"trailing" : false, // true: Prohibit trailing whitespaces
"undef" : true, // true: Require all non-global variables to be
// declared (prevents global leaks)
"unused" : "vars", // vars: Require all defined variables be used, but not
// function parameters
"globals": {
"after": false,
"afterEach": false,
"before": false,
"beforeEach": false,
"describe": false,
"it": false,
"_": false
}
}