-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
56 lines (56 loc) · 1.36 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
{
"extends": ["eslint:recommended"],
"plugins": [],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true
},
"globals": {
"SharedArrayBuffer": true,
"Atomics": true,
"window": true,
"document": true,
"M": true,
"ace": true,
"React": true,
"ReactDOM": true,
"carlo": true,
"rpc": true,
"liyad": true,
"lsx": true,
"renderByMenneu": true,
"loadFile": true,
"saveFile": true,
"listDirectory": true,
"listDesktopDirectory": true,
"listHomeDirectory": true,
"fileExists": true,
"pathJoin": true,
"getDirName": true,
"getBaseName": true,
"getStartupFile": true,
"openURL": true,
"openNewWindow": true,
"alert": true,
"confirm": true,
"nativeAlert": true,
"nativeConfirm": true,
"alertWrap": true,
"confirmWrap": true,
"notifyEditorDirty": true,
"nativeNotifyEditorDirty": true,
"nativeFileOpenDialog": true,
"nativeFileSaveDialog": true,
"mdneApi": true
},
"rules": {
"no-console": "warn",
"no-unused-vars": "warn",
"no-empty": "warn"
}
}