-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
87 lines (87 loc) · 1.64 KB
/
.eslintrc.json
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
84
85
86
87
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:prettier/recommended",
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 12
},
"globals": {
"Alert": false,
"args": false,
"Calendar": false,
"CalendarEvent": false,
"CallbackURL": false,
"Color": false,
"config": false,
"console": false,
"Contact": false,
"ContactsContainer": false,
"ContactsGroup": false,
"Data": false,
"DatePicker": false,
"Device": false,
"Dictation": false,
"DocumentPicker": false,
"DrawContext": false,
"FileManager": false,
"Font": false,
"Image": false,
"importModule": false,
"Keychain": false,
"ListWidget": false,
"Location": false,
"Mail": false,
"Message": false,
"module": false,
"Notification": false,
"Pasteboard": false,
"Path": false,
"Photos": false,
"Point": false,
"QuickLook": false,
"Rect": false,
"RecurrenceRule": false,
"Reminder": false,
"Request": false,
"Safari": false,
"Script": false,
"SFSymbol": false,
"ShareSheet": false,
"Size": false,
"Speech": false,
"UITable": false,
"UITableCell": false,
"UITableRow": false,
"URLScheme": false,
"UUID": false,
"WebView": false,
"XMLParser": false
},
"rules": {
"prettier/prettier": [
"error",
{},
{ "usePrettierrc": true }
],
"no-trailing-spaces": [
"error"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"never"
]
}
}