generated from QuickCorp/QCObjects-DOC
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslint-config-qcobjects.js
51 lines (51 loc) · 1.34 KB
/
.eslint-config-qcobjects.js
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
require('qcobjects');
require('qcobjects-sdk');
var qc_globals = {};
global.ClassesList.map(c=>qc_globals[c.classFactory.__definition.__classType]="readonly");
module.exports = {
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended"
],
"globals": Object.assign(qc_globals,{
"global": "readonly",
"logger": "readonly",
"VO": "readonly",
"i18n_messages": "readonly",
"i18n_messages_es": "readonly",
"_DOMCreateElement": "readonly",
"NotificationComponent": "readonly",
"TransitionEffect": "readonly",
"Effect": "readonly",
"Tag": "readonly",
"_super_": "readonly",
"isBrowser": "readonly",
"CONFIG": "readonly",
"Controller": "readonly",
"View": "readonly",
"Model": "readonly",
"Component": "readonly",
"Import": "readonly",
"Ready": "readonly",
"Package": "readonly",
"Class": "readonly",
"JSONService": "readonly",
"New": "readonly",
"ClassFactory": "readonly",
"serviceLoader": "readonly",
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
}),
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"semi": ["error", "always"],
"quotes": ["error", "double"]
}
}