-
Notifications
You must be signed in to change notification settings - Fork 22
/
.eslintrc
80 lines (80 loc) · 1.8 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
{
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
},
"rules": {
"accessor-pairs": 0,
"comma-dangle": [1, "never"],
"comma-spacing": [1, {"before": false, "after": true}],
"comma-style": [2, "last"],
"consistent-return": 2,
"dot-location": [
2,
"property"
],
"dot-notation": 2,
"eol-last": 2,
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"keyword-spacing": 2,
"no-bitwise": 0,
"no-console": 2,
"no-const-assign": 2,
"no-debugger": 2,
"no-empty": 2,
'no-missing-import': 0,
"no-multi-spaces": 2,
"no-shadow": 0,
"no-undef": 2,
"no-unreachable": 1,
"no-unused-expressions": 2,
"no-unused-vars": [
2,
{
"args": "none",
"varsIgnorePattern": "_",
"argsIgnorePattern": "_"
}
],
"object-curly-spacing": [1, "never"],
"quotes": [
1,
"single",
"avoid-escape"
],
"semi": 2,
"space-before-blocks": 2,
"space-in-parens": [1, "never"],
"strict": [
2,
"never"
]
},
"env": {
"es6": true
},
"globals": {
Alert: true,
Label: true,
PopUpButton: true,
TextField: true,
createConfirmHandler: true,
createPluginHandler: true,
lowLevelSetImage: true,
NSAlert: true,
NSView: true,
NSMakeRect: true,
NSImage: true,
NSURL: true,
MSImageData: true,
NSTextField: true,
NSPopUpButton: true,
log: true
}
}