-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
97 lines (96 loc) · 2.92 KB
/
index.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
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
88
89
90
91
92
93
94
95
96
97
"use strict";
/**
* QCObjects ESLint Config
* ________________________
*
* Author: Jean Machuca <[email protected]>
*
* Cross Browser Javascript Framework for MVC Patterns
* QuickCorp/QCObjects is licensed under the
* GNU Lesser General Public License v3.0
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
*
* Permissions of this copyleft license are conditioned on making available
* complete source code of licensed works and modifications under the same
* license or the GNU GPLv3. Copyright and license notices must be preserved.
* Contributors provide an express grant of patent rights. However, a larger
* work using the licensed work through interfaces provided by the licensed
* work may be distributed under different terms and without source code for
* the larger work.
*
* Copyright (C) 2015 Jean Machuca,<[email protected]>
*
* Everyone is permitted to copy and distribute verbatim copies of this
* license document, but changing it is not allowed.
*/
require("qcobjects");
require("qcobjects-sdk");
var qc_globals = {};
if (typeof global.ClassesList !== "undefined"){
global.ClassesList.map(c=>qc_globals[__getType__(c.classFactory)]="readonly");
}
module.exports = {
"root": true,
"env": {
"browser": true,
"node": true,
"es2021": true,
"es2020": true,
"es2017": true,
"es6": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"ecmaFeatures": {}
},
"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",
"BackendMicroservice": "readonly",
"Processor": "readonly",
"RegisterWidget": "readonly",
"ComplexStorageCache": "readonly",
"_Crypt": "readonly",
"SessionUserToken": "readonly",
"ComponentURI": "readonly",
"_DataStringify": "readonly",
"Timer": "readonly",
"SourceCSS": "readonly",
"SourceJS": "readonly",
"Service": "readonly"
}),
"rules": {
"semi": ["error", "always"],
"quotes": ["error", "double"],
"no-unused-vars": 1,
"no-undef": 1
}
};