lenix 1.4.0 → 1.4.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.
@@ -1,342 +0,0 @@
1
- /**
2
- * Load eslint preset rules.
3
- * @see https://raw.githubusercontent.com/LenixDev/lenix/refs/heads/main/lint/src/lint-preset.json
4
- */
5
- export declare const lint: {
6
- strict: {
7
- "accessor-pairs": string;
8
- "array-callback-return": string;
9
- "arrow-body-style": string;
10
- "block-scoped-var": string;
11
- camelcase: string;
12
- "capitalized-comments": string;
13
- "class-methods-use-this": string;
14
- complexity: string;
15
- "consistent-return": string;
16
- "consistent-this": string;
17
- "constructor-super": string;
18
- curly: string[];
19
- "default-case": string;
20
- "default-case-last": string;
21
- "default-param-last": string;
22
- "dot-notation": string;
23
- eqeqeq: string;
24
- "for-direction": string;
25
- "func-name-matching": string;
26
- "func-names": string;
27
- "func-style": string;
28
- "getter-return": string;
29
- "grouped-accessor-pairs": string;
30
- "guard-for-in": string;
31
- "id-denylist": string;
32
- "id-length": (string | {
33
- exceptions: string[];
34
- })[];
35
- "id-match": string;
36
- "init-declarations": string;
37
- "logical-assignment-operators": string;
38
- "max-classes-per-file": string;
39
- "max-depth": string;
40
- "max-lines": string;
41
- "max-lines-per-function": string;
42
- "max-nested-callbacks": string;
43
- "max-params": string;
44
- "max-statements": string;
45
- "new-cap": string;
46
- "no-alert": string;
47
- "no-array-constructor": string;
48
- "no-async-promise-executor": string;
49
- "no-await-in-loop": string;
50
- "no-bitwise": string;
51
- "no-caller": string;
52
- "no-case-declarations": string;
53
- "no-class-assign": string;
54
- "no-compare-neg-zero": string;
55
- "no-cond-assign": string;
56
- "no-console": string;
57
- "no-const-assign": string;
58
- "no-constant-binary-expression": string;
59
- "no-constant-condition": string;
60
- "no-constructor-return": string;
61
- "no-continue": string;
62
- "no-control-regex": string;
63
- "no-debugger": string;
64
- "no-delete-var": string;
65
- "no-div-regex": string;
66
- "no-dupe-args": string;
67
- "no-dupe-class-members": string;
68
- "no-dupe-else-if": string;
69
- "no-dupe-keys": string;
70
- "no-duplicate-case": string;
71
- "no-duplicate-imports": string;
72
- "no-else-return": string;
73
- "no-empty": string;
74
- "no-empty-character-class": string;
75
- "no-empty-function": string;
76
- "no-empty-pattern": string;
77
- "no-empty-static-block": string;
78
- "no-eq-null": string;
79
- "no-eval": string;
80
- "no-ex-assign": string;
81
- "no-extend-native": string;
82
- "no-extra-bind": string;
83
- "no-extra-boolean-cast": string;
84
- "no-extra-label": string;
85
- "no-fallthrough": string;
86
- "no-func-assign": string;
87
- "no-global-assign": string;
88
- "no-implicit-coercion": string;
89
- "no-implicit-globals": string;
90
- "no-implied-eval": string;
91
- "no-import-assign": string;
92
- "no-inline-comments": string;
93
- "no-inner-declarations": string;
94
- "no-invalid-regexp": string;
95
- "no-invalid-this": string;
96
- "no-irregular-whitespace": string;
97
- "no-iterator": string;
98
- "no-label-var": string;
99
- "no-labels": string;
100
- "no-lone-blocks": string;
101
- "no-lonely-if": string;
102
- "no-loop-func": string;
103
- "no-loss-of-precision": string;
104
- "no-magic-numbers": (string | {
105
- detectObjects: boolean;
106
- enforceConst: boolean;
107
- ignore: number[];
108
- ignoreReadonlyClassProperties: boolean;
109
- })[];
110
- "no-misleading-character-class": string;
111
- "no-multi-assign": string;
112
- "no-multi-str": string;
113
- "no-negated-condition": string;
114
- "no-nested-ternary": string;
115
- "no-new": string;
116
- "no-new-func": string;
117
- "no-new-native-nonconstructor": string;
118
- "no-new-wrappers": string;
119
- "no-nonoctal-decimal-escape": string;
120
- "no-obj-calls": string;
121
- "no-object-constructor": string;
122
- "no-octal": string;
123
- "no-octal-escape": string;
124
- "no-param-reassign": string;
125
- "no-plusplus": string;
126
- "no-promise-executor-return": string;
127
- "no-proto": string;
128
- "no-prototype-builtins": string;
129
- "no-redeclare": string;
130
- "no-regex-spaces": string;
131
- "no-restricted-exports": string;
132
- "no-restricted-globals": string;
133
- "no-restricted-imports": string;
134
- "no-restricted-properties": string;
135
- "no-restricted-syntax": string;
136
- "no-return-assign": string;
137
- "no-script-url": string;
138
- "no-self-assign": string;
139
- "no-self-compare": string;
140
- "no-sequences": string;
141
- "no-setter-return": string;
142
- "no-shadow": string;
143
- "no-shadow-restricted-names": string;
144
- "no-sparse-arrays": string;
145
- "no-template-curly-in-string": string;
146
- "no-this-before-super": string;
147
- "no-throw-literal": string;
148
- "no-unassigned-vars": string;
149
- "no-undef": string;
150
- "no-undef-init": string;
151
- "no-undefined": string;
152
- "no-underscore-dangle": string;
153
- "no-unexpected-multiline": string;
154
- "no-unmodified-loop-condition": string;
155
- "no-unneeded-ternary": string;
156
- "no-unreachable": string;
157
- "no-unreachable-loop": string;
158
- "no-unsafe-finally": string;
159
- "no-unsafe-negation": string;
160
- "no-unsafe-optional-chaining": string;
161
- "no-unused-expressions": string;
162
- "no-unused-labels": string;
163
- "no-unused-private-class-members": string;
164
- "no-unused-vars": string;
165
- "no-use-before-define": string;
166
- "no-useless-assignment": string;
167
- "no-useless-backreference": string;
168
- "no-useless-call": string;
169
- "no-useless-catch": string;
170
- "no-useless-computed-key": string;
171
- "no-useless-concat": string;
172
- "no-useless-constructor": string;
173
- "no-useless-escape": string;
174
- "no-useless-rename": string;
175
- "no-useless-return": string;
176
- "no-var": string;
177
- "no-void": string;
178
- "no-warning-comments": string;
179
- "no-with": string;
180
- "object-shorthand": string;
181
- "one-var": string;
182
- "operator-assignment": string;
183
- "prefer-arrow-callback": string;
184
- "prefer-const": string;
185
- "prefer-destructuring": string;
186
- "prefer-exponentiation-operator": string;
187
- "prefer-named-capture-group": string;
188
- "prefer-numeric-literals": string;
189
- "prefer-object-has-own": string;
190
- "prefer-object-spread": string;
191
- "prefer-promise-reject-errors": string;
192
- "prefer-regex-literals": string;
193
- "prefer-rest-params": string;
194
- "prefer-spread": string;
195
- "prefer-template": string;
196
- "preserve-caught-error": string;
197
- radix: string;
198
- "require-atomic-updates": string;
199
- "require-await": string;
200
- "require-unicode-regexp": string;
201
- "require-yield": string;
202
- "sort-imports": string;
203
- "sort-keys": string;
204
- "sort-vars": string;
205
- strict: string;
206
- "symbol-description": string;
207
- "unicode-bom": string;
208
- "use-isnan": string;
209
- "valid-typeof": string;
210
- "vars-on-top": string;
211
- yoda: string;
212
- "@typescript-eslint/adjacent-overload-signatures": string;
213
- "@typescript-eslint/array-type": string;
214
- "@typescript-eslint/ban-ts-comment": string;
215
- "@typescript-eslint/ban-tslint-comment": string;
216
- "@typescript-eslint/class-literal-property-style": string;
217
- "@typescript-eslint/class-methods-use-this": string;
218
- "@typescript-eslint/consistent-generic-constructors": string;
219
- "@typescript-eslint/consistent-indexed-object-style": string;
220
- "@typescript-eslint/consistent-type-assertions": string;
221
- "@typescript-eslint/consistent-type-definitions": string;
222
- "@typescript-eslint/consistent-type-imports": string;
223
- "@typescript-eslint/default-param-last": string;
224
- "@typescript-eslint/explicit-function-return-type": string;
225
- "@typescript-eslint/explicit-member-accessibility": string;
226
- "@typescript-eslint/explicit-module-boundary-types": string;
227
- "@typescript-eslint/init-declarations": string;
228
- "@typescript-eslint/max-params": string;
229
- "@typescript-eslint/member-ordering": string;
230
- "@typescript-eslint/method-signature-style": string;
231
- "@typescript-eslint/no-array-constructor": string;
232
- "@typescript-eslint/no-confusing-non-null-assertion": string;
233
- "@typescript-eslint/no-duplicate-enum-values": string;
234
- "@typescript-eslint/no-dynamic-delete": string;
235
- "@typescript-eslint/no-empty-function": string;
236
- "@typescript-eslint/no-empty-object-type": string;
237
- "@typescript-eslint/no-explicit-any": string;
238
- "@typescript-eslint/no-extra-non-null-assertion": string;
239
- "@typescript-eslint/no-extraneous-class": string;
240
- "@typescript-eslint/no-import-type-side-effects": string;
241
- "@typescript-eslint/no-inferrable-types": string;
242
- "@typescript-eslint/no-invalid-void-type": string;
243
- "@typescript-eslint/no-loop-func": string;
244
- "@typescript-eslint/no-magic-numbers": string;
245
- "@typescript-eslint/no-misused-new": string;
246
- "@typescript-eslint/no-namespace": string;
247
- "@typescript-eslint/no-non-null-asserted-nullish-coalescing": string;
248
- "@typescript-eslint/no-non-null-asserted-optional-chain": string;
249
- "@typescript-eslint/no-non-null-assertion": string;
250
- "@typescript-eslint/no-redeclare": string;
251
- "@typescript-eslint/no-require-imports": string;
252
- "@typescript-eslint/no-restricted-imports": string;
253
- "@typescript-eslint/no-restricted-types": string;
254
- "@typescript-eslint/no-shadow": string;
255
- "@typescript-eslint/no-this-alias": string;
256
- "@typescript-eslint/no-unnecessary-parameter-property-assignment": string;
257
- "@typescript-eslint/no-unnecessary-type-constraint": string;
258
- "@typescript-eslint/no-unsafe-declaration-merging": string;
259
- "@typescript-eslint/no-unsafe-function-type": string;
260
- "@typescript-eslint/no-unused-expressions": string;
261
- "@typescript-eslint/no-unused-private-class-members": string;
262
- "@typescript-eslint/no-unused-vars": string;
263
- "@typescript-eslint/no-use-before-define": string;
264
- "@typescript-eslint/no-useless-constructor": string;
265
- "@typescript-eslint/no-useless-empty-export": string;
266
- "@typescript-eslint/no-wrapper-object-types": string;
267
- "@typescript-eslint/prefer-as-const": string;
268
- "@typescript-eslint/prefer-enum-initializers": string;
269
- "@typescript-eslint/prefer-for-of": string;
270
- "@typescript-eslint/prefer-function-type": string;
271
- "@typescript-eslint/prefer-literal-enum-member": string;
272
- "@typescript-eslint/prefer-namespace-keyword": string;
273
- "@typescript-eslint/triple-slash-reference": string;
274
- "@typescript-eslint/unified-signatures": string;
275
- "@typescript-eslint/await-thenable": string;
276
- "@typescript-eslint/consistent-return": string;
277
- "@typescript-eslint/consistent-type-exports": string;
278
- "@typescript-eslint/dot-notation": string;
279
- "@typescript-eslint/naming-convention": (string | {
280
- selector: string;
281
- format: string[];
282
- })[];
283
- "@typescript-eslint/no-array-delete": string;
284
- "@typescript-eslint/no-base-to-string": string;
285
- "@typescript-eslint/no-confusing-void-expression": string;
286
- "@typescript-eslint/no-deprecated": string;
287
- "@typescript-eslint/no-duplicate-type-constituents": string;
288
- "@typescript-eslint/no-floating-promises": string;
289
- "@typescript-eslint/no-for-in-array": string;
290
- "@typescript-eslint/no-implied-eval": string;
291
- "@typescript-eslint/no-meaningless-void-operator": string;
292
- "@typescript-eslint/no-misused-promises": string;
293
- "@typescript-eslint/no-misused-spread": string;
294
- "@typescript-eslint/no-mixed-enums": string;
295
- "@typescript-eslint/no-redundant-type-constituents": string;
296
- "@typescript-eslint/no-unnecessary-boolean-literal-compare": string;
297
- "@typescript-eslint/no-unnecessary-condition": string;
298
- "@typescript-eslint/no-unnecessary-qualifier": string;
299
- "@typescript-eslint/no-unnecessary-template-expression": string;
300
- "@typescript-eslint/no-unnecessary-type-arguments": string;
301
- "@typescript-eslint/no-unnecessary-type-assertion": string;
302
- "@typescript-eslint/no-unnecessary-type-conversion": string;
303
- "@typescript-eslint/no-unnecessary-type-parameters": string;
304
- "@typescript-eslint/no-unsafe-argument": string;
305
- "@typescript-eslint/no-unsafe-assignment": string;
306
- "@typescript-eslint/no-unsafe-call": string;
307
- "@typescript-eslint/no-unsafe-enum-comparison": string;
308
- "@typescript-eslint/no-unsafe-member-access": string;
309
- "@typescript-eslint/no-unsafe-return": string;
310
- "@typescript-eslint/no-unsafe-type-assertion": string;
311
- "@typescript-eslint/no-unsafe-unary-minus": string;
312
- "@typescript-eslint/no-useless-default-assignment": string;
313
- "@typescript-eslint/non-nullable-type-assertion-style": string;
314
- "@typescript-eslint/only-throw-error": string;
315
- "@typescript-eslint/prefer-destructuring": string;
316
- "@typescript-eslint/prefer-find": string;
317
- "@typescript-eslint/prefer-includes": string;
318
- "@typescript-eslint/prefer-nullish-coalescing": string;
319
- "@typescript-eslint/prefer-optional-chain": string;
320
- "@typescript-eslint/prefer-promise-reject-errors": string;
321
- "@typescript-eslint/prefer-readonly": string;
322
- "@typescript-eslint/prefer-readonly-parameter-types": (string | {
323
- ignoreInferredTypes: boolean;
324
- })[];
325
- "@typescript-eslint/prefer-reduce-type-parameter": string;
326
- "@typescript-eslint/prefer-regexp-exec": string;
327
- "@typescript-eslint/prefer-return-this-type": string;
328
- "@typescript-eslint/prefer-string-starts-ends-with": string;
329
- "@typescript-eslint/promise-function-async": string;
330
- "@typescript-eslint/related-getter-setter-pairs": string;
331
- "@typescript-eslint/require-array-sort-compare": string;
332
- "@typescript-eslint/require-await": string;
333
- "@typescript-eslint/restrict-plus-operands": string;
334
- "@typescript-eslint/restrict-template-expressions": string;
335
- "@typescript-eslint/return-await": string;
336
- "@typescript-eslint/strict-boolean-expressions": string;
337
- "@typescript-eslint/strict-void-return": string;
338
- "@typescript-eslint/switch-exhaustiveness-check": string;
339
- "@typescript-eslint/unbound-method": string;
340
- "@typescript-eslint/use-unknown-in-catch-callback-variable": string;
341
- };
342
- };
@@ -1,6 +0,0 @@
1
- import preset from "./preset.json";
2
- /**
3
- * Load eslint preset rules.
4
- * @see https://raw.githubusercontent.com/LenixDev/lenix/refs/heads/main/lint/src/lint-preset.json
5
- */
6
- export const lint = { strict: preset.rules };