-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
executable file
·161 lines (161 loc) · 3.7 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6, // Required in order for const to work
"ecmaFeatures": {
"impliedStrict": true,
"globalReturn": true
}
},
"rules": {
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"brace-style": [
"error",
"1tbs"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"space-in-parens": [
"error",
"never"
],
"space-before-function-paren": [
"error",
"never"
],
"space-before-blocks": [
"error",
"always"
],
"keyword-spacing": [
"error",
{
"before": true,
"after": true
}
],
"max-len": [
"error",
{
"code": 500,
"tabWidth": 4,
"ignoreUrls": true,
"ignoreComments": true
}
],
"no-unused-vars": [ // disallow declaration of variables that are not used in the code
"error",
{
"vars": "all",
"args": "none" // allow for function arguments - helps to make code more self-documenting
}
],
"no-use-before-define": [ // disallow use of variables before they are defined
"error",
{
"functions": false // allow use of functions before they are defined (this is valid)
}
],
"curly": [ // require curly braces for all control statements
"error",
"all"
],
"dot-location": [
"error",
"property"
]
},
"globals": {
"module": false,
"process": false,
"window": false,
"define": false,
"global": false,
"self": false,
"getCoreVersion": false,
"getFileVersion": false,
"getScenariumVersion": false,
"getTargetOS": false,
"print": false,
"vec2": false,
"vec3": false,
"vec4": false,
"mat2": false,
"mat2Add": false,
"mat2Div": false,
"mat2Mul": false,
"mat2Sub": false,
"mat3": false,
"mat3Add": false,
"mat3Div": false,
"mat3Mul": false,
"mat3Sub": false,
"determinantMat3": false,
"inverseMat3": false,
"matrixCompMultMat3": false,
"outerProductMat3": false,
"transposeMat3": false,
"mat4": false,
"mat4Add": false,
"mat4Div": false,
"mat4Mul": false,
"mat4Sub": false,
"mat4Vec4Mul": false,
"determinantMat4": false,
"inverseMat4": false,
"matrixCompMultMat4": false,
"outerProductMat4": false,
"transposeMat4": false,
"eulerAngleX": false,
"eulerAngleY": false,
"eulerAngleYXZ": false,
"eulerAngleZ": false,
"extractEulerAngleXYZ": false,
"yawPitchRoll": false,
"quat": false,
"fromEuler": false,
"quatFromAngleAxis": false,
"slerp": false,
"toEuler": false,
"script": false,
"getTime": false,
"getDeltaTime": false,
"isNull": false,
"MachineLearning": false,
"VideoStatus": false,
"TWEEN": false,
"MeshBuilder": false,
"MeshTopology": false,
"MeshIndexType": false,
"ManipulateType": false,
"StretchMode": false,
"DeviceTrackingMode": false,
"CullMode": false,
"LocationProximityStatus": false,
"LookAtComponent": false,
"AttachmentPointType": false,
"LayerSet": false,
"ScreenRegionType": false,
"Rect": false,
"Camera": false,
"Float32Array": false,
"Uint8Array": false,
"TensorMath": false,
"scene": false,
"ProceduralTextureProvider": false,
"Colorspace": false,
"MeshClassificationFormat": false
}
}