forked from apache/couchdb-fauxton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
83 lines (74 loc) · 1.61 KB
/
.eslintrc
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"root": true,
"plugins": [
"react"
],
"rules-todo": {
"space-unary-ops": 2,
"camelcase": 2
},
"rules": {
"semi": [2, "always"],
"no-undef": 2,
"keyword-spacing": 2,
"space-infix-ops": 2,
"space-before-blocks": 2,
"array-bracket-spacing": [2, "never"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-spacing": [2, {"before": false, "after": true}],
"computed-property-spacing": [2, "never"],
"eol-last": 2,
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-trailing-spaces": 2,
"semi-spacing": [2, {"before": false, "after": true}],
"no-empty": 2,
"space-in-parens": [2, "never"],
"no-unused-vars": [2, {"varsIgnorePattern": "ReactDOM"}],
"react/jsx-uses-vars": 2,
"react/jsx-uses-react": 2
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"jquery": true,
"amd": true,
"mocha": true,
"phantomjs": true,
"es6": true
},
"globals": {
"document": true,
"window": true,
"location": true,
"alert": true,
"console": true,
"clearInterval": true,
"setInterval": true,
"setTimeout": true,
"prompt": true,
"confirm": true,
"jQuery": true,
"Backbone": true,
"$": true,
"_": true,
"require": true,
"module": true,
"sinon": true,
"it": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"before": true,
"after": true,
"define": true,
"expect": true,
"prettyPrint": true,
"jest": true
}
}