eser 0.1.5 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/codebase/mod.ts +411 -0
- package/deno.json +10 -0
- package/main.ts +78 -0
- package/package.json +10 -46
- package/package.json.template +16 -0
- package/scripts/npm-publish-prepare.ts +123 -0
- package/scripts/npm-publish-revert.ts +30 -0
- package/.csscomb.json +0 -333
- package/.eslintrc.json +0 -295
- package/LICENSE +0 -14
- package/README.md +0 -59
- package/bin/eser +0 -5
- package/lib/cli.js +0 -37
- package/lib/index.js +0 -9
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright 2023-present Eser Ozvataf and other contributors. All rights reserved. Apache-2.0 license.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Reverts package.json to local development state.
|
|
5
|
+
*
|
|
6
|
+
* Copies package.json.template to package.json to restore workspace:*
|
|
7
|
+
* dependencies for local development.
|
|
8
|
+
*
|
|
9
|
+
* @module
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import * as path from "@std/path";
|
|
13
|
+
|
|
14
|
+
const main = async (): Promise<void> => {
|
|
15
|
+
const scriptDir = import.meta.dirname;
|
|
16
|
+
if (scriptDir === undefined) {
|
|
17
|
+
throw new Error("Cannot determine script directory");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const pkgDir = path.dirname(scriptDir);
|
|
21
|
+
const templatePath = path.join(pkgDir, "package.json.template");
|
|
22
|
+
const outputPath = path.join(pkgDir, "package.json");
|
|
23
|
+
|
|
24
|
+
await Deno.copyFile(templatePath, outputPath);
|
|
25
|
+
|
|
26
|
+
// deno-lint-ignore no-console
|
|
27
|
+
console.log(`Copied ${templatePath} to ${outputPath}`);
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
main();
|
package/.csscomb.json
DELETED
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"exclude": [
|
|
3
|
-
".git/**",
|
|
4
|
-
"node_modules/**",
|
|
5
|
-
"bower_components/**"
|
|
6
|
-
],
|
|
7
|
-
|
|
8
|
-
"remove-empty-rulesets": true,
|
|
9
|
-
"always-semicolon": true,
|
|
10
|
-
"color-case": "upper",
|
|
11
|
-
"block-indent": " ",
|
|
12
|
-
"color-shorthand": false,
|
|
13
|
-
"element-case": "lower",
|
|
14
|
-
"eof-newline": true,
|
|
15
|
-
"leading-zero": true,
|
|
16
|
-
"quotes": "single",
|
|
17
|
-
"space-before-colon": "",
|
|
18
|
-
"space-after-colon": " ",
|
|
19
|
-
"space-before-combinator": " ",
|
|
20
|
-
"space-after-combinator": " ",
|
|
21
|
-
"space-between-declarations": "\n",
|
|
22
|
-
"space-before-opening-brace": " ",
|
|
23
|
-
"space-after-opening-brace": "\n",
|
|
24
|
-
"space-after-selector-delimiter": " ",
|
|
25
|
-
"space-before-selector-delimiter": "",
|
|
26
|
-
"space-before-closing-brace": "\n",
|
|
27
|
-
"strip-spaces": true,
|
|
28
|
-
"tab-size": 4,
|
|
29
|
-
"unitless-zero": true,
|
|
30
|
-
"vendor-prefix-align": true,
|
|
31
|
-
"verbose": true,
|
|
32
|
-
|
|
33
|
-
"sort-order": [
|
|
34
|
-
[
|
|
35
|
-
"font",
|
|
36
|
-
"font-family",
|
|
37
|
-
"font-size",
|
|
38
|
-
"font-weight",
|
|
39
|
-
"font-style",
|
|
40
|
-
"font-variant",
|
|
41
|
-
"font-size-adjust",
|
|
42
|
-
"font-stretch",
|
|
43
|
-
"font-effect",
|
|
44
|
-
"font-emphasize",
|
|
45
|
-
"font-emphasize-position",
|
|
46
|
-
"font-emphasize-style",
|
|
47
|
-
"font-smooth",
|
|
48
|
-
"line-height"
|
|
49
|
-
],
|
|
50
|
-
[
|
|
51
|
-
"position",
|
|
52
|
-
"z-index",
|
|
53
|
-
"top",
|
|
54
|
-
"right",
|
|
55
|
-
"bottom",
|
|
56
|
-
"left"
|
|
57
|
-
],
|
|
58
|
-
[
|
|
59
|
-
"display",
|
|
60
|
-
"visibility",
|
|
61
|
-
"float",
|
|
62
|
-
"clear",
|
|
63
|
-
"overflow",
|
|
64
|
-
"overflow-x",
|
|
65
|
-
"overflow-y",
|
|
66
|
-
"-ms-overflow-x",
|
|
67
|
-
"-ms-overflow-y",
|
|
68
|
-
"clip",
|
|
69
|
-
"zoom",
|
|
70
|
-
"flex-direction",
|
|
71
|
-
"flex-order",
|
|
72
|
-
"flex-pack",
|
|
73
|
-
"flex-align"
|
|
74
|
-
],
|
|
75
|
-
[
|
|
76
|
-
"-webkit-box-sizing",
|
|
77
|
-
"-moz-box-sizing",
|
|
78
|
-
"box-sizing",
|
|
79
|
-
"width",
|
|
80
|
-
"min-width",
|
|
81
|
-
"max-width",
|
|
82
|
-
"height",
|
|
83
|
-
"min-height",
|
|
84
|
-
"max-height",
|
|
85
|
-
"margin",
|
|
86
|
-
"margin-top",
|
|
87
|
-
"margin-right",
|
|
88
|
-
"margin-bottom",
|
|
89
|
-
"margin-left",
|
|
90
|
-
"padding",
|
|
91
|
-
"padding-top",
|
|
92
|
-
"padding-right",
|
|
93
|
-
"padding-bottom",
|
|
94
|
-
"padding-left"
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
"table-layout",
|
|
98
|
-
"empty-cells",
|
|
99
|
-
"caption-side",
|
|
100
|
-
"border-spacing",
|
|
101
|
-
"border-collapse",
|
|
102
|
-
"list-style",
|
|
103
|
-
"list-style-position",
|
|
104
|
-
"list-style-type",
|
|
105
|
-
"list-style-image"
|
|
106
|
-
],
|
|
107
|
-
[
|
|
108
|
-
"content",
|
|
109
|
-
"quotes",
|
|
110
|
-
"counter-reset",
|
|
111
|
-
"counter-increment",
|
|
112
|
-
"resize",
|
|
113
|
-
"cursor",
|
|
114
|
-
"-webkit-user-select",
|
|
115
|
-
"-moz-user-select",
|
|
116
|
-
"-ms-user-select",
|
|
117
|
-
"user-select",
|
|
118
|
-
"nav-index",
|
|
119
|
-
"nav-up",
|
|
120
|
-
"nav-right",
|
|
121
|
-
"nav-down",
|
|
122
|
-
"nav-left",
|
|
123
|
-
"-webkit-transition",
|
|
124
|
-
"-moz-transition",
|
|
125
|
-
"-ms-transition",
|
|
126
|
-
"-o-transition",
|
|
127
|
-
"transition",
|
|
128
|
-
"-webkit-transition-delay",
|
|
129
|
-
"-moz-transition-delay",
|
|
130
|
-
"-ms-transition-delay",
|
|
131
|
-
"-o-transition-delay",
|
|
132
|
-
"transition-delay",
|
|
133
|
-
"-webkit-transition-timing-function",
|
|
134
|
-
"-moz-transition-timing-function",
|
|
135
|
-
"-ms-transition-timing-function",
|
|
136
|
-
"-o-transition-timing-function",
|
|
137
|
-
"transition-timing-function",
|
|
138
|
-
"-webkit-transition-duration",
|
|
139
|
-
"-moz-transition-duration",
|
|
140
|
-
"-ms-transition-duration",
|
|
141
|
-
"-o-transition-duration",
|
|
142
|
-
"transition-duration",
|
|
143
|
-
"-webkit-transition-property",
|
|
144
|
-
"-moz-transition-property",
|
|
145
|
-
"-ms-transition-property",
|
|
146
|
-
"-o-transition-property",
|
|
147
|
-
"transition-property",
|
|
148
|
-
"-webkit-transform",
|
|
149
|
-
"-moz-transform",
|
|
150
|
-
"-ms-transform",
|
|
151
|
-
"-o-transform",
|
|
152
|
-
"transform",
|
|
153
|
-
"-webkit-transform-origin",
|
|
154
|
-
"-moz-transform-origin",
|
|
155
|
-
"-ms-transform-origin",
|
|
156
|
-
"-o-transform-origin",
|
|
157
|
-
"transform-origin",
|
|
158
|
-
"-webkit-animation",
|
|
159
|
-
"-moz-animation",
|
|
160
|
-
"-ms-animation",
|
|
161
|
-
"-o-animation",
|
|
162
|
-
"animation",
|
|
163
|
-
"-webkit-animation-name",
|
|
164
|
-
"-moz-animation-name",
|
|
165
|
-
"-ms-animation-name",
|
|
166
|
-
"-o-animation-name",
|
|
167
|
-
"animation-name",
|
|
168
|
-
"-webkit-animation-duration",
|
|
169
|
-
"-moz-animation-duration",
|
|
170
|
-
"-ms-animation-duration",
|
|
171
|
-
"-o-animation-duration",
|
|
172
|
-
"animation-duration",
|
|
173
|
-
"-webkit-animation-play-state",
|
|
174
|
-
"-moz-animation-play-state",
|
|
175
|
-
"-ms-animation-play-state",
|
|
176
|
-
"-o-animation-play-state",
|
|
177
|
-
"animation-play-state",
|
|
178
|
-
"-webkit-animation-timing-function",
|
|
179
|
-
"-moz-animation-timing-function",
|
|
180
|
-
"-ms-animation-timing-function",
|
|
181
|
-
"-o-animation-timing-function",
|
|
182
|
-
"animation-timing-function",
|
|
183
|
-
"-webkit-animation-delay",
|
|
184
|
-
"-moz-animation-delay",
|
|
185
|
-
"-ms-animation-delay",
|
|
186
|
-
"-o-animation-delay",
|
|
187
|
-
"animation-delay",
|
|
188
|
-
"-webkit-animation-iteration-count",
|
|
189
|
-
"-moz-animation-iteration-count",
|
|
190
|
-
"-ms-animation-iteration-count",
|
|
191
|
-
"-o-animation-iteration-count",
|
|
192
|
-
"animation-iteration-count",
|
|
193
|
-
"-webkit-animation-direction",
|
|
194
|
-
"-moz-animation-direction",
|
|
195
|
-
"-ms-animation-direction",
|
|
196
|
-
"-o-animation-direction",
|
|
197
|
-
"animation-direction",
|
|
198
|
-
"text-align",
|
|
199
|
-
"-webkit-text-align-last",
|
|
200
|
-
"-moz-text-align-last",
|
|
201
|
-
"-ms-text-align-last",
|
|
202
|
-
"text-align-last",
|
|
203
|
-
"vertical-align",
|
|
204
|
-
"white-space",
|
|
205
|
-
"text-decoration",
|
|
206
|
-
"text-emphasis",
|
|
207
|
-
"text-emphasis-color",
|
|
208
|
-
"text-emphasis-style",
|
|
209
|
-
"text-emphasis-position",
|
|
210
|
-
"text-indent",
|
|
211
|
-
"-ms-text-justify",
|
|
212
|
-
"text-justify",
|
|
213
|
-
"letter-spacing",
|
|
214
|
-
"word-spacing",
|
|
215
|
-
"-ms-writing-mode",
|
|
216
|
-
"text-outline",
|
|
217
|
-
"text-transform",
|
|
218
|
-
"text-wrap",
|
|
219
|
-
"text-overflow",
|
|
220
|
-
"-ms-text-overflow",
|
|
221
|
-
"text-overflow-ellipsis",
|
|
222
|
-
"text-overflow-mode",
|
|
223
|
-
"-ms-word-wrap",
|
|
224
|
-
"word-wrap",
|
|
225
|
-
"word-break",
|
|
226
|
-
"-ms-word-break",
|
|
227
|
-
"-moz-tab-size",
|
|
228
|
-
"-o-tab-size",
|
|
229
|
-
"tab-size",
|
|
230
|
-
"-webkit-hyphens",
|
|
231
|
-
"-moz-hyphens",
|
|
232
|
-
"hyphens",
|
|
233
|
-
"pointer-events"
|
|
234
|
-
],
|
|
235
|
-
[
|
|
236
|
-
"opacity",
|
|
237
|
-
"filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
|
|
238
|
-
"-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha",
|
|
239
|
-
"-ms-interpolation-mode",
|
|
240
|
-
"color",
|
|
241
|
-
"border",
|
|
242
|
-
"border-width",
|
|
243
|
-
"border-style",
|
|
244
|
-
"border-color",
|
|
245
|
-
"border-top",
|
|
246
|
-
"border-top-width",
|
|
247
|
-
"border-top-style",
|
|
248
|
-
"border-top-color",
|
|
249
|
-
"border-right",
|
|
250
|
-
"border-right-width",
|
|
251
|
-
"border-right-style",
|
|
252
|
-
"border-right-color",
|
|
253
|
-
"border-bottom",
|
|
254
|
-
"border-bottom-width",
|
|
255
|
-
"border-bottom-style",
|
|
256
|
-
"border-bottom-color",
|
|
257
|
-
"border-left",
|
|
258
|
-
"border-left-width",
|
|
259
|
-
"border-left-style",
|
|
260
|
-
"border-left-color",
|
|
261
|
-
"-webkit-border-radius",
|
|
262
|
-
"-moz-border-radius",
|
|
263
|
-
"border-radius",
|
|
264
|
-
"-webkit-border-top-left-radius",
|
|
265
|
-
"-moz-border-radius-topleft",
|
|
266
|
-
"border-top-left-radius",
|
|
267
|
-
"-webkit-border-top-right-radius",
|
|
268
|
-
"-moz-border-radius-topright",
|
|
269
|
-
"border-top-right-radius",
|
|
270
|
-
"-webkit-border-bottom-right-radius",
|
|
271
|
-
"-moz-border-radius-bottomright",
|
|
272
|
-
"border-bottom-right-radius",
|
|
273
|
-
"-webkit-border-bottom-left-radius",
|
|
274
|
-
"-moz-border-radius-bottomleft",
|
|
275
|
-
"border-bottom-left-radius",
|
|
276
|
-
"-webkit-border-image",
|
|
277
|
-
"-moz-border-image",
|
|
278
|
-
"-o-border-image",
|
|
279
|
-
"border-image",
|
|
280
|
-
"-webkit-border-image-source",
|
|
281
|
-
"-moz-border-image-source",
|
|
282
|
-
"-o-border-image-source",
|
|
283
|
-
"border-image-source",
|
|
284
|
-
"-webkit-border-image-slice",
|
|
285
|
-
"-moz-border-image-slice",
|
|
286
|
-
"-o-border-image-slice",
|
|
287
|
-
"border-image-slice",
|
|
288
|
-
"-webkit-border-image-width",
|
|
289
|
-
"-moz-border-image-width",
|
|
290
|
-
"-o-border-image-width",
|
|
291
|
-
"border-image-width",
|
|
292
|
-
"-webkit-border-image-outset",
|
|
293
|
-
"-moz-border-image-outset",
|
|
294
|
-
"-o-border-image-outset",
|
|
295
|
-
"border-image-outset",
|
|
296
|
-
"-webkit-border-image-repeat",
|
|
297
|
-
"-moz-border-image-repeat",
|
|
298
|
-
"-o-border-image-repeat",
|
|
299
|
-
"border-image-repeat",
|
|
300
|
-
"outline",
|
|
301
|
-
"outline-width",
|
|
302
|
-
"outline-style",
|
|
303
|
-
"outline-color",
|
|
304
|
-
"outline-offset",
|
|
305
|
-
"background",
|
|
306
|
-
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
|
|
307
|
-
"background-color",
|
|
308
|
-
"background-image",
|
|
309
|
-
"background-repeat",
|
|
310
|
-
"background-attachment",
|
|
311
|
-
"background-position",
|
|
312
|
-
"background-position-x",
|
|
313
|
-
"-ms-background-position-x",
|
|
314
|
-
"background-position-y",
|
|
315
|
-
"-ms-background-position-y",
|
|
316
|
-
"-webkit-background-clip",
|
|
317
|
-
"-moz-background-clip",
|
|
318
|
-
"background-clip",
|
|
319
|
-
"background-origin",
|
|
320
|
-
"-webkit-background-size",
|
|
321
|
-
"-moz-background-size",
|
|
322
|
-
"-o-background-size",
|
|
323
|
-
"background-size",
|
|
324
|
-
"box-decoration-break",
|
|
325
|
-
"-webkit-box-shadow",
|
|
326
|
-
"-moz-box-shadow",
|
|
327
|
-
"box-shadow",
|
|
328
|
-
"filter:progid:DXImageTransform.Microsoft.gradient",
|
|
329
|
-
"-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
|
|
330
|
-
"text-shadow"
|
|
331
|
-
]
|
|
332
|
-
]
|
|
333
|
-
}
|
package/.eslintrc.json
DELETED
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": {
|
|
3
|
-
"no-console": 0,
|
|
4
|
-
"complexity": [
|
|
5
|
-
1,
|
|
6
|
-
{
|
|
7
|
-
"maximum": 8
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"consistent-return": 1,
|
|
11
|
-
"curly": [
|
|
12
|
-
2,
|
|
13
|
-
"all"
|
|
14
|
-
],
|
|
15
|
-
"dot-location": [
|
|
16
|
-
2,
|
|
17
|
-
"property"
|
|
18
|
-
],
|
|
19
|
-
"dot-notation": [
|
|
20
|
-
2,
|
|
21
|
-
{
|
|
22
|
-
"allowKeywords": true
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"eqeqeq": [
|
|
26
|
-
2,
|
|
27
|
-
"allow-null"
|
|
28
|
-
],
|
|
29
|
-
"guard-for-in": 1,
|
|
30
|
-
"no-alert": 1,
|
|
31
|
-
"no-caller": 2,
|
|
32
|
-
"no-else-return": 2,
|
|
33
|
-
"no-eval": 2,
|
|
34
|
-
"no-extend-native": [
|
|
35
|
-
2,
|
|
36
|
-
{
|
|
37
|
-
"exceptions": [
|
|
38
|
-
"Object"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"no-extra-bind": 1,
|
|
43
|
-
"no-extra-label": 1,
|
|
44
|
-
"no-implicit-coercion": 1,
|
|
45
|
-
"no-implicit-globals": 1,
|
|
46
|
-
"no-implied-eval": 2,
|
|
47
|
-
"no-invalid-this": 1,
|
|
48
|
-
"no-iterator": 1,
|
|
49
|
-
"no-labels": 1,
|
|
50
|
-
"no-lone-blocks": 1,
|
|
51
|
-
"no-loop-func": 1,
|
|
52
|
-
"no-magic-numbers": 1,
|
|
53
|
-
"no-multi-spaces": 1,
|
|
54
|
-
"no-native-reassign": 2,
|
|
55
|
-
"no-new": 2,
|
|
56
|
-
"no-new-func": 2,
|
|
57
|
-
"no-new-wrappers": 2,
|
|
58
|
-
"no-param-reassign": [
|
|
59
|
-
1,
|
|
60
|
-
{
|
|
61
|
-
"props": false
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"no-proto": 1,
|
|
65
|
-
"no-return-assign": 1,
|
|
66
|
-
"no-self-compare": 1,
|
|
67
|
-
"no-throw-literal": 1,
|
|
68
|
-
"no-unused-expressions": [
|
|
69
|
-
1,
|
|
70
|
-
{
|
|
71
|
-
"allowShortCircuit": false,
|
|
72
|
-
"allowTernary": false
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
"no-useless-call": 1,
|
|
76
|
-
"no-useless-concat": 1,
|
|
77
|
-
"no-void": 1,
|
|
78
|
-
"wrap-iife": [
|
|
79
|
-
2,
|
|
80
|
-
"outside"
|
|
81
|
-
],
|
|
82
|
-
"yoda": [
|
|
83
|
-
2,
|
|
84
|
-
"never",
|
|
85
|
-
{
|
|
86
|
-
"exceptRange": false,
|
|
87
|
-
"onlyEquality": false
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"strict": [
|
|
91
|
-
1,
|
|
92
|
-
"global"
|
|
93
|
-
],
|
|
94
|
-
"no-catch-shadow": 2,
|
|
95
|
-
"no-label-var": 2,
|
|
96
|
-
"no-shadow": [
|
|
97
|
-
2,
|
|
98
|
-
{
|
|
99
|
-
"builtinGlobals": false,
|
|
100
|
-
"hoist": "all",
|
|
101
|
-
"allow": []
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"no-shadow-restricted-names": 2,
|
|
105
|
-
"no-undef-init": 2,
|
|
106
|
-
"no-unused-vars": [
|
|
107
|
-
0,
|
|
108
|
-
{
|
|
109
|
-
"vars": "local",
|
|
110
|
-
"args": "after-used"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"no-use-before-define": [
|
|
114
|
-
2,
|
|
115
|
-
{
|
|
116
|
-
"functions": true,
|
|
117
|
-
"classes": true
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"no-new-require": 2,
|
|
121
|
-
"array-bracket-spacing": [
|
|
122
|
-
2,
|
|
123
|
-
"always"
|
|
124
|
-
],
|
|
125
|
-
"block-spacing": [
|
|
126
|
-
2,
|
|
127
|
-
"always"
|
|
128
|
-
],
|
|
129
|
-
"brace-style": [
|
|
130
|
-
2,
|
|
131
|
-
"stroustrup",
|
|
132
|
-
{
|
|
133
|
-
"allowSingleLine": true
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"camelcase": [
|
|
137
|
-
1,
|
|
138
|
-
{
|
|
139
|
-
"properties": "always"
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
"comma-spacing": [
|
|
143
|
-
2,
|
|
144
|
-
{
|
|
145
|
-
"before": false,
|
|
146
|
-
"after": true
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"comma-style": [
|
|
150
|
-
2,
|
|
151
|
-
"last"
|
|
152
|
-
],
|
|
153
|
-
"computed-property-spacing": [
|
|
154
|
-
2,
|
|
155
|
-
"never"
|
|
156
|
-
],
|
|
157
|
-
"consistent-this": [
|
|
158
|
-
2,
|
|
159
|
-
"self"
|
|
160
|
-
],
|
|
161
|
-
"eol-last": 2,
|
|
162
|
-
"indent": [
|
|
163
|
-
1,
|
|
164
|
-
4
|
|
165
|
-
],
|
|
166
|
-
"key-spacing": [
|
|
167
|
-
2,
|
|
168
|
-
{
|
|
169
|
-
"beforeColon": false,
|
|
170
|
-
"afterColon": true,
|
|
171
|
-
"mode": "strict"
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"keyword-spacing": [
|
|
175
|
-
2,
|
|
176
|
-
{
|
|
177
|
-
"before": true,
|
|
178
|
-
"after": true
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"linebreak-style": [
|
|
182
|
-
2,
|
|
183
|
-
"unix"
|
|
184
|
-
],
|
|
185
|
-
"new-parens": 2,
|
|
186
|
-
"newline-after-var": [
|
|
187
|
-
1,
|
|
188
|
-
"always"
|
|
189
|
-
],
|
|
190
|
-
"newline-before-return": 1,
|
|
191
|
-
"newline-per-chained-call": 1,
|
|
192
|
-
"no-mixed-spaces-and-tabs": 1,
|
|
193
|
-
"no-new-object": 2,
|
|
194
|
-
"no-plusplus": 1,
|
|
195
|
-
"no-spaced-func": 2,
|
|
196
|
-
"no-trailing-spaces": [
|
|
197
|
-
1,
|
|
198
|
-
{
|
|
199
|
-
"skipBlankLines": false
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
|
-
"no-unneeded-ternary": 1,
|
|
203
|
-
"no-whitespace-before-property": 1,
|
|
204
|
-
"object-curly-spacing": [
|
|
205
|
-
2,
|
|
206
|
-
"always"
|
|
207
|
-
],
|
|
208
|
-
"operator-linebreak": [
|
|
209
|
-
2,
|
|
210
|
-
"after"
|
|
211
|
-
],
|
|
212
|
-
"quote-props": [
|
|
213
|
-
2,
|
|
214
|
-
"as-needed",
|
|
215
|
-
{
|
|
216
|
-
"keywords": true,
|
|
217
|
-
"unnecessary": false
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
"quotes": [
|
|
221
|
-
2,
|
|
222
|
-
"single"
|
|
223
|
-
],
|
|
224
|
-
"semi": [
|
|
225
|
-
2,
|
|
226
|
-
"always"
|
|
227
|
-
],
|
|
228
|
-
"semi-spacing": [
|
|
229
|
-
2,
|
|
230
|
-
{
|
|
231
|
-
"before": false,
|
|
232
|
-
"after": true
|
|
233
|
-
}
|
|
234
|
-
],
|
|
235
|
-
"space-before-blocks": [
|
|
236
|
-
2,
|
|
237
|
-
{
|
|
238
|
-
"functions": "always",
|
|
239
|
-
"keywords": "always",
|
|
240
|
-
"classes": "always"
|
|
241
|
-
}
|
|
242
|
-
],
|
|
243
|
-
"space-before-function-paren": [
|
|
244
|
-
2,
|
|
245
|
-
{
|
|
246
|
-
"anonymous": "always",
|
|
247
|
-
"named": "never"
|
|
248
|
-
}
|
|
249
|
-
],
|
|
250
|
-
"space-in-parens": [
|
|
251
|
-
2,
|
|
252
|
-
"never"
|
|
253
|
-
],
|
|
254
|
-
"space-infix-ops": [
|
|
255
|
-
2,
|
|
256
|
-
{
|
|
257
|
-
"int32Hint": false
|
|
258
|
-
}
|
|
259
|
-
],
|
|
260
|
-
"space-unary-ops": [
|
|
261
|
-
2,
|
|
262
|
-
{
|
|
263
|
-
"words": true,
|
|
264
|
-
"nonwords": false
|
|
265
|
-
}
|
|
266
|
-
],
|
|
267
|
-
"arrow-body-style": [
|
|
268
|
-
2,
|
|
269
|
-
"as-needed"
|
|
270
|
-
],
|
|
271
|
-
"arrow-parens": [
|
|
272
|
-
2,
|
|
273
|
-
"always"
|
|
274
|
-
],
|
|
275
|
-
"arrow-spacing": [
|
|
276
|
-
2,
|
|
277
|
-
{
|
|
278
|
-
"before": true,
|
|
279
|
-
"after": true
|
|
280
|
-
}
|
|
281
|
-
],
|
|
282
|
-
"no-confusing-arrow": [
|
|
283
|
-
2,
|
|
284
|
-
{
|
|
285
|
-
"allowParens": false
|
|
286
|
-
}
|
|
287
|
-
],
|
|
288
|
-
"no-var": 2,
|
|
289
|
-
"prefer-const": 1,
|
|
290
|
-
"prefer-rest-params": 2,
|
|
291
|
-
"prefer-spread": 2,
|
|
292
|
-
"prefer-template": 1
|
|
293
|
-
},
|
|
294
|
-
"extends": "eslint:recommended"
|
|
295
|
-
}
|
package/LICENSE
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright 2013-2016 Eser Ozvataf
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|