@nivinjoseph/n-strument 1.0.4 → 2.0.1

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/.eslintrc DELETED
@@ -1,335 +0,0 @@
1
- {
2
- "root": true,
3
- "parser": "@typescript-eslint/parser",
4
- "plugins": [
5
- "@typescript-eslint"
6
- ],
7
- "extends": [
8
- "eslint:recommended",
9
- "plugin:@typescript-eslint/eslint-recommended",
10
- "plugin:@typescript-eslint/recommended"
11
- ],
12
- "parserOptions": {
13
- "project": "tsconfig.json"
14
- },
15
- "rules": {
16
- "no-eval": "error",
17
- "no-void": "error",
18
- "no-with": "error",
19
- "@typescript-eslint/adjacent-overload-signatures": "error",
20
- "@typescript-eslint/array-type": [
21
- "error",
22
- {
23
- "default": "generic",
24
- "readonly": "generic"
25
- }
26
- ],
27
- "@typescript-eslint/await-thenable": "error",
28
- "@typescript-eslint/ban-ts-comment": [
29
- "error",
30
- {
31
- "ts-expect-error": "allow-with-description",
32
- "ts-ignore": "allow-with-description",
33
- "ts-nocheck": true,
34
- "ts-check": true
35
- }
36
- ],
37
- "@typescript-eslint/ban-tslint-comment": "error",
38
- "@typescript-eslint/ban-types": [
39
- "error",
40
- {
41
- "extendDefaults": false,
42
- "types": {
43
- "String": {
44
- "message": "Use string instead",
45
- "fixWith": "string"
46
- },
47
- "Boolean": {
48
- "message": "Use boolean instead",
49
- "fixWith": "boolean"
50
- },
51
- "Number": {
52
- "message": "Use number instead",
53
- "fixWith": "number"
54
- },
55
- "Symbol": {
56
- "message": "Use symbol instead",
57
- "fixWith": "symbol"
58
- }
59
- }
60
- }
61
- ],
62
- "brace-style": "off",
63
- "@typescript-eslint/brace-style": [
64
- "error",
65
- "allman",
66
- {
67
- "allowSingleLine": true
68
- }
69
- ],
70
- "@typescript-eslint/class-literal-property-style": [
71
- "off",
72
- "getters"
73
- ],
74
- "comma-dangle": "off",
75
- "@typescript-eslint/comma-dangle": [
76
- "error",
77
- "never"
78
- ],
79
- "default-param-last": "off",
80
- "@typescript-eslint/default-param-last": "error",
81
- "@typescript-eslint/explicit-function-return-type": "error",
82
- "@typescript-eslint/explicit-member-accessibility": "error",
83
- "@typescript-eslint/explicit-module-boundary-types": "error",
84
- "func-call-spacing": "off",
85
- "@typescript-eslint/func-call-spacing": [
86
- "error",
87
- "never"
88
- ],
89
- "@typescript-eslint/member-delimiter-style": [
90
- "error",
91
- {
92
- "multiline": {
93
- "delimiter": "semi",
94
- "requireLast": true
95
- },
96
- "singleline": {
97
- "delimiter": "semi",
98
- "requireLast": true
99
- },
100
- "multilineDetection": "brackets"
101
- }
102
- ],
103
- "@typescript-eslint/member-ordering": [
104
- "error",
105
- {
106
- "default": [
107
- // Index signature
108
- "signature",
109
- // Fields
110
- "private-static-field",
111
- "protected-static-field",
112
- "public-static-field",
113
- // "private-decorated-field",
114
- // "protected-decorated-field",
115
- // "public-decorated-field",
116
- "private-instance-field",
117
- "protected-instance-field",
118
- "public-instance-field",
119
- // "public-abstract-field",
120
- // "protected-abstract-field",
121
- // "private-abstract-field",
122
- // "private-field",
123
- // "protected-field",
124
- // "public-field",
125
- // "static-field",
126
- // "instance-field",
127
- // "abstract-field",
128
- // "decorated-field",
129
- // "field",
130
- // Getters
131
- // "public-static-get",
132
- // "protected-static-get",
133
- // "private-static-get",
134
- // "public-decorated-get",
135
- // "protected-decorated-get",
136
- // "private-decorated-get",
137
- // "public-instance-get",
138
- // "protected-instance-get",
139
- // "private-instance-get",
140
- // "public-abstract-get",
141
- // "protected-abstract-get",
142
- // "private-abstract-get",
143
- // "public-get",
144
- // "protected-get",
145
- // "private-get",
146
- // "static-get",
147
- // "instance-get",
148
- // "abstract-get",
149
- // "decorated-get",
150
- // "get",
151
- // Setters
152
- // "public-static-set",
153
- // "protected-static-set",
154
- // "private-static-set",
155
- // "public-decorated-set",
156
- // "protected-decorated-set",
157
- // "private-decorated-set",
158
- // "public-instance-set",
159
- // "protected-instance-set",
160
- // "private-instance-set",
161
- // "public-abstract-set",
162
- // "protected-abstract-set",
163
- // "private-abstract-set",
164
- // "public-set",
165
- // "protected-set",
166
- // "private-set",
167
- // "static-set",
168
- // "instance-set",
169
- // "abstract-set",
170
- // "decorated-set",
171
- // "set",
172
- // [
173
- // "get",
174
- // "set"
175
- // ],
176
- [
177
- "private-static-get",
178
- "private-static-set"
179
- ],
180
- [
181
- "protected-static-get",
182
- "protected-static-set"
183
- ],
184
- [
185
- "public-static-get",
186
- "public-static-set"
187
- ],
188
- [
189
- "private-instance-get",
190
- "private-instance-set"
191
- ],
192
- [
193
- "protected-instance-get",
194
- "protected-instance-set"
195
- ],
196
- [
197
- "public-instance-get",
198
- "public-instance-set"
199
- ],
200
- // Constructors
201
- "public-constructor",
202
- "protected-constructor",
203
- "private-constructor",
204
- // "constructor",
205
- // Methods
206
- "public-static-method",
207
- "protected-static-method",
208
- "private-static-method",
209
- // "public-decorated-method",
210
- // "protected-decorated-method",
211
- // "private-decorated-method",
212
- "public-instance-method",
213
- "protected-instance-method",
214
- "private-instance-method",
215
- // "public-abstract-method",
216
- // "protected-abstract-method",
217
- // "private-abstract-method",
218
- // "public-method",
219
- // "protected-method",
220
- // "private-method",
221
- // "static-method",
222
- // "instance-method",
223
- // "abstract-method",
224
- // "decorated-method",
225
- // "method"
226
- ]
227
- }
228
- ],
229
- "@typescript-eslint/method-signature-style": [
230
- "error",
231
- "method"
232
- ],
233
- "@typescript-eslint/naming-convention": [
234
- "error",
235
- {
236
- "selector": "memberLike",
237
- "modifiers": [
238
- "private"
239
- ],
240
- "format": [
241
- "camelCase"
242
- ],
243
- "leadingUnderscore": "require"
244
- }
245
- ],
246
- "@typescript-eslint/no-confusing-non-null-assertion": "error",
247
- "@typescript-eslint/no-confusing-void-expression": [
248
- "error",
249
- {
250
- "ignoreArrowShorthand": true
251
- }
252
- ],
253
- "no-dupe-class-members": "off",
254
- "@typescript-eslint/no-dupe-class-members": "error",
255
- "@typescript-eslint/no-duplicate-enum-values": "error",
256
- "no-duplicate-imports": "off",
257
- "@typescript-eslint/no-duplicate-imports": "error",
258
- "no-empty-function": "off",
259
- "@typescript-eslint/no-empty-function": [
260
- "error",
261
- {
262
- "allow": [
263
- "private-constructors"
264
- ]
265
- }
266
- ],
267
- "@typescript-eslint/no-explicit-any": "off",
268
- "@typescript-eslint/no-extra-non-null-assertion": "error",
269
- "no-extra-parens": "off",
270
- "@typescript-eslint/no-extra-parens": [
271
- "error",
272
- "all",
273
- {
274
- "nestedBinaryExpressions": false
275
- }
276
- ],
277
- "no-extra-semi": "off",
278
- "@typescript-eslint/no-extra-semi": "error",
279
- "@typescript-eslint/no-floating-promises": "error",
280
- "@typescript-eslint/no-for-in-array": "error",
281
- "no-implied-eval": "off",
282
- "@typescript-eslint/no-implied-eval": "error",
283
- "no-invalid-this": "off",
284
- "@typescript-eslint/no-invalid-this": "error",
285
- "@typescript-eslint/no-invalid-void-type": "error",
286
- "no-loop-func": "off",
287
- "@typescript-eslint/no-loop-func": "error",
288
- "no-loss-of-precision": "off",
289
- "@typescript-eslint/no-loss-of-precision": "error",
290
- "@typescript-eslint/no-meaningless-void-operator": "error",
291
- "@typescript-eslint/no-misused-new": "error",
292
- "@typescript-eslint/no-misused-promises": "error",
293
- "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
294
- "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
295
- "@typescript-eslint/no-non-null-assertion": "off",
296
- "no-redeclare": "off",
297
- "@typescript-eslint/no-redeclare": "error",
298
- "@typescript-eslint/no-this-alias": "error",
299
- "@typescript-eslint/no-throw-literal": "error",
300
- "@typescript-eslint/no-unnecessary-condition": [
301
- "error",
302
- {
303
- "allowConstantLoopConditions": true
304
- }
305
- ],
306
- "@typescript-eslint/no-unnecessary-type-assertion": "error",
307
- "@typescript-eslint/no-unnecessary-type-constraint": "error",
308
- "@typescript-eslint/no-unsafe-call": "error",
309
- "@typescript-eslint/no-unsafe-return": "error",
310
- "no-unused-expressions": "off",
311
- "@typescript-eslint/no-unused-expressions": "error",
312
- "no-unused-vars": "off",
313
- "@typescript-eslint/no-unused-vars": "off",
314
- "no-use-before-define": "off",
315
- "@typescript-eslint/no-use-before-define": "off",
316
- "no-useless-constructor": "off",
317
- "@typescript-eslint/no-useless-constructor": "error",
318
- "@typescript-eslint/no-useless-empty-export": "error",
319
- "@typescript-eslint/no-var-requires": "off",
320
- "@typescript-eslint/parameter-properties": "error",
321
- "@typescript-eslint/prefer-enum-initializers": "error",
322
- "@typescript-eslint/prefer-includes": "error",
323
- "@typescript-eslint/prefer-literal-enum-member": "error",
324
- "@typescript-eslint/prefer-readonly": "error",
325
- "@typescript-eslint/prefer-reduce-type-parameter": "error",
326
- "@typescript-eslint/prefer-string-starts-ends-with": "error",
327
- "@typescript-eslint/prefer-ts-expect-error": "error",
328
- "@typescript-eslint/require-array-sort-compare": "error",
329
- "no-return-await": "off",
330
- "@typescript-eslint/return-await": "error",
331
- "semi": "off",
332
- "@typescript-eslint/semi": "error",
333
- "@typescript-eslint/unbound-method": "error"
334
- }
335
- }