-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.eslintrc
48 lines (48 loc) · 1.04 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"DocumentFragment": true,
"expect": true,
"it": true,
"describe": true,
"beforeEach": true,
"runs": true,
"spyOn": true,
"spyOnEvent": true,
"waitsFor": true,
"afterEach": true
},
"rules": {
"indent": [2, 2],
"valid-jsdoc": 0,
"brace-style": [1, "stroustrup"],
"no-constant-condition": 1,
"no-underscore-dangle": 0,
"no-use-before-define": 1,
"func-names": 0,
"no-new": 0,
"new-parens": 2,
"no-ternary": 0,
"new-cap": 0,
"no-unused-vars": [1, { "vars": "local", "args": "none" }],
"quotes": [2, "single"],
"one-var": 0,
"space-infix-ops": 0,
"strict": 0,
"camelcase": [2, { "properties": "never" }],
"tabWidth": 2,
"useTabs": false,
"semi": "off",
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"requirePragma": false,
"insertPragma": false
}
}