-
Notifications
You must be signed in to change notification settings - Fork 174
/
.eslintrc
74 lines (74 loc) · 2.38 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
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"extends": ["sketch"],
"rules": {
"new-cap": 0,
"class-methods-use-this": 0,
"no-unused-vars": 1,
"no-undef": 1,
"eqeqeq": 0, // OC className 比较用全等会有问题
"no-mixed-operators": 0,
"array-callback-return": 0,
"no-return-assign": 0,
"no-underscore-dangle": 0,
"no-useless-escape": 0
},
"globals": {
"console": false,
"setTimeout":false,
// Mocha
"Mocha": false,
// Objective-C
"nil": false,
"COScript": false,
"NSThread": false,
"NSOKButton": false,
"NSFileHandlingPanelOKButton": false,
"NSMomentaryChangeButton": false,
"NSClassFromString": false,
"NSModalResponseOK": false,
"NSPointInRect": false,
"NSMakeRect": false,
"NSMakeSize": false,
"NSZeroRect": false,
"NSSelectorFromString": false,
"NSNotificationCenter": false,
"NSWindowDidResizeNotification": false,
"NSOffState": false,
"NSBoxSeparator": false,
"NSWidth": false,
"NSHeight": false,
"NSWindowStyleMaskFullSizeContentView": false,
"NSBorderlessWindowMask": false,
"NSResizableWindowMask": false,
"NSTexturedBackgroundWindowMask": false,
"NSTitledWindowMask": false,
"NSClosableWindowMask": false,
"NSFullSizeContentViewWindowMask": false,
"NSWindowStyleMaskResizable": false,
"NSFloatingWindowLevel": false,
"NSWindowZoomButton": false,
"NSWindowMiniaturizeButton": false,
"NSWindowCloseButton": false,
"NSWindowFullScreenButton": false,
"NSWindowTitleHidden": false,
"NSVisualEffectMaterialPopover": false,
"NSViewWidthSizable": false,
"NSViewHeightSizable": false,
"NSAppearanceNameVibrantLight": false,
"NSVisualEffectBlendingModeBehindWindow": false,
"NSPNGFileType": false,
"NSUserDefaults": false,
"NSWindowStyleMaskDocModalWindow": false,
"CGEventCreateMouseEvent": false,
"kCGEventLeftMouseDown": false,
"CGPointMake": false,
"kCGMouseButtonLeft": false,
"NSDraggingFormationNone": false,
"NSDragPboard": false,
"NSURLSession": false
}
}