@alextheman/eslint-plugin 1.2.10 → 1.2.11

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/dist/index.js CHANGED
@@ -41,347 +41,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
41
41
  mod
42
42
  ));
43
43
 
44
- // node_modules/@eslint/js/package.json
45
- var require_package = __commonJS({
46
- "node_modules/@eslint/js/package.json"(exports, module) {
47
- module.exports = {
48
- name: "@eslint/js",
49
- version: "9.31.0",
50
- description: "ESLint JavaScript language implementation",
51
- funding: "https://eslint.org/donate",
52
- main: "./src/index.js",
53
- types: "./types/index.d.ts",
54
- scripts: {
55
- "test:types": "tsc -p tests/types/tsconfig.json"
56
- },
57
- files: [
58
- "LICENSE",
59
- "README.md",
60
- "src",
61
- "types"
62
- ],
63
- publishConfig: {
64
- access: "public"
65
- },
66
- repository: {
67
- type: "git",
68
- url: "https://github.com/eslint/eslint.git",
69
- directory: "packages/js"
70
- },
71
- homepage: "https://eslint.org",
72
- bugs: "https://github.com/eslint/eslint/issues/",
73
- keywords: [
74
- "javascript",
75
- "eslint-plugin",
76
- "eslint"
77
- ],
78
- license: "MIT",
79
- engines: {
80
- node: "^18.18.0 || ^20.9.0 || >=21.1.0"
81
- }
82
- };
83
- }
84
- });
85
-
86
- // node_modules/@eslint/js/src/configs/eslint-all.js
87
- var require_eslint_all = __commonJS({
88
- "node_modules/@eslint/js/src/configs/eslint-all.js"(exports, module) {
89
- "use strict";
90
- module.exports = Object.freeze({
91
- "rules": {
92
- "accessor-pairs": "error",
93
- "array-callback-return": "error",
94
- "arrow-body-style": "error",
95
- "block-scoped-var": "error",
96
- "camelcase": "error",
97
- "capitalized-comments": "error",
98
- "class-methods-use-this": "error",
99
- "complexity": "error",
100
- "consistent-return": "error",
101
- "consistent-this": "error",
102
- "constructor-super": "error",
103
- "curly": "error",
104
- "default-case": "error",
105
- "default-case-last": "error",
106
- "default-param-last": "error",
107
- "dot-notation": "error",
108
- "eqeqeq": "error",
109
- "for-direction": "error",
110
- "func-name-matching": "error",
111
- "func-names": "error",
112
- "func-style": "error",
113
- "getter-return": "error",
114
- "grouped-accessor-pairs": "error",
115
- "guard-for-in": "error",
116
- "id-denylist": "error",
117
- "id-length": "error",
118
- "id-match": "error",
119
- "init-declarations": "error",
120
- "logical-assignment-operators": "error",
121
- "max-classes-per-file": "error",
122
- "max-depth": "error",
123
- "max-lines": "error",
124
- "max-lines-per-function": "error",
125
- "max-nested-callbacks": "error",
126
- "max-params": "error",
127
- "max-statements": "error",
128
- "new-cap": "error",
129
- "no-alert": "error",
130
- "no-array-constructor": "error",
131
- "no-async-promise-executor": "error",
132
- "no-await-in-loop": "error",
133
- "no-bitwise": "error",
134
- "no-caller": "error",
135
- "no-case-declarations": "error",
136
- "no-class-assign": "error",
137
- "no-compare-neg-zero": "error",
138
- "no-cond-assign": "error",
139
- "no-console": "error",
140
- "no-const-assign": "error",
141
- "no-constant-binary-expression": "error",
142
- "no-constant-condition": "error",
143
- "no-constructor-return": "error",
144
- "no-continue": "error",
145
- "no-control-regex": "error",
146
- "no-debugger": "error",
147
- "no-delete-var": "error",
148
- "no-div-regex": "error",
149
- "no-dupe-args": "error",
150
- "no-dupe-class-members": "error",
151
- "no-dupe-else-if": "error",
152
- "no-dupe-keys": "error",
153
- "no-duplicate-case": "error",
154
- "no-duplicate-imports": "error",
155
- "no-else-return": "error",
156
- "no-empty": "error",
157
- "no-empty-character-class": "error",
158
- "no-empty-function": "error",
159
- "no-empty-pattern": "error",
160
- "no-empty-static-block": "error",
161
- "no-eq-null": "error",
162
- "no-eval": "error",
163
- "no-ex-assign": "error",
164
- "no-extend-native": "error",
165
- "no-extra-bind": "error",
166
- "no-extra-boolean-cast": "error",
167
- "no-extra-label": "error",
168
- "no-fallthrough": "error",
169
- "no-func-assign": "error",
170
- "no-global-assign": "error",
171
- "no-implicit-coercion": "error",
172
- "no-implicit-globals": "error",
173
- "no-implied-eval": "error",
174
- "no-import-assign": "error",
175
- "no-inline-comments": "error",
176
- "no-inner-declarations": "error",
177
- "no-invalid-regexp": "error",
178
- "no-invalid-this": "error",
179
- "no-irregular-whitespace": "error",
180
- "no-iterator": "error",
181
- "no-label-var": "error",
182
- "no-labels": "error",
183
- "no-lone-blocks": "error",
184
- "no-lonely-if": "error",
185
- "no-loop-func": "error",
186
- "no-loss-of-precision": "error",
187
- "no-magic-numbers": "error",
188
- "no-misleading-character-class": "error",
189
- "no-multi-assign": "error",
190
- "no-multi-str": "error",
191
- "no-negated-condition": "error",
192
- "no-nested-ternary": "error",
193
- "no-new": "error",
194
- "no-new-func": "error",
195
- "no-new-native-nonconstructor": "error",
196
- "no-new-wrappers": "error",
197
- "no-nonoctal-decimal-escape": "error",
198
- "no-obj-calls": "error",
199
- "no-object-constructor": "error",
200
- "no-octal": "error",
201
- "no-octal-escape": "error",
202
- "no-param-reassign": "error",
203
- "no-plusplus": "error",
204
- "no-promise-executor-return": "error",
205
- "no-proto": "error",
206
- "no-prototype-builtins": "error",
207
- "no-redeclare": "error",
208
- "no-regex-spaces": "error",
209
- "no-restricted-exports": "error",
210
- "no-restricted-globals": "error",
211
- "no-restricted-imports": "error",
212
- "no-restricted-properties": "error",
213
- "no-restricted-syntax": "error",
214
- "no-return-assign": "error",
215
- "no-script-url": "error",
216
- "no-self-assign": "error",
217
- "no-self-compare": "error",
218
- "no-sequences": "error",
219
- "no-setter-return": "error",
220
- "no-shadow": "error",
221
- "no-shadow-restricted-names": "error",
222
- "no-sparse-arrays": "error",
223
- "no-template-curly-in-string": "error",
224
- "no-ternary": "error",
225
- "no-this-before-super": "error",
226
- "no-throw-literal": "error",
227
- "no-unassigned-vars": "error",
228
- "no-undef": "error",
229
- "no-undef-init": "error",
230
- "no-undefined": "error",
231
- "no-underscore-dangle": "error",
232
- "no-unexpected-multiline": "error",
233
- "no-unmodified-loop-condition": "error",
234
- "no-unneeded-ternary": "error",
235
- "no-unreachable": "error",
236
- "no-unreachable-loop": "error",
237
- "no-unsafe-finally": "error",
238
- "no-unsafe-negation": "error",
239
- "no-unsafe-optional-chaining": "error",
240
- "no-unused-expressions": "error",
241
- "no-unused-labels": "error",
242
- "no-unused-private-class-members": "error",
243
- "no-unused-vars": "error",
244
- "no-use-before-define": "error",
245
- "no-useless-assignment": "error",
246
- "no-useless-backreference": "error",
247
- "no-useless-call": "error",
248
- "no-useless-catch": "error",
249
- "no-useless-computed-key": "error",
250
- "no-useless-concat": "error",
251
- "no-useless-constructor": "error",
252
- "no-useless-escape": "error",
253
- "no-useless-rename": "error",
254
- "no-useless-return": "error",
255
- "no-var": "error",
256
- "no-void": "error",
257
- "no-warning-comments": "error",
258
- "no-with": "error",
259
- "object-shorthand": "error",
260
- "one-var": "error",
261
- "operator-assignment": "error",
262
- "prefer-arrow-callback": "error",
263
- "prefer-const": "error",
264
- "prefer-destructuring": "error",
265
- "prefer-exponentiation-operator": "error",
266
- "prefer-named-capture-group": "error",
267
- "prefer-numeric-literals": "error",
268
- "prefer-object-has-own": "error",
269
- "prefer-object-spread": "error",
270
- "prefer-promise-reject-errors": "error",
271
- "prefer-regex-literals": "error",
272
- "prefer-rest-params": "error",
273
- "prefer-spread": "error",
274
- "prefer-template": "error",
275
- "radix": "error",
276
- "require-atomic-updates": "error",
277
- "require-await": "error",
278
- "require-unicode-regexp": "error",
279
- "require-yield": "error",
280
- "sort-imports": "error",
281
- "sort-keys": "error",
282
- "sort-vars": "error",
283
- "strict": "error",
284
- "symbol-description": "error",
285
- "unicode-bom": "error",
286
- "use-isnan": "error",
287
- "valid-typeof": "error",
288
- "vars-on-top": "error",
289
- "yoda": "error"
290
- }
291
- });
292
- }
293
- });
294
-
295
- // node_modules/@eslint/js/src/configs/eslint-recommended.js
296
- var require_eslint_recommended = __commonJS({
297
- "node_modules/@eslint/js/src/configs/eslint-recommended.js"(exports, module) {
298
- "use strict";
299
- module.exports = Object.freeze({
300
- rules: Object.freeze({
301
- "constructor-super": "error",
302
- "for-direction": "error",
303
- "getter-return": "error",
304
- "no-async-promise-executor": "error",
305
- "no-case-declarations": "error",
306
- "no-class-assign": "error",
307
- "no-compare-neg-zero": "error",
308
- "no-cond-assign": "error",
309
- "no-const-assign": "error",
310
- "no-constant-binary-expression": "error",
311
- "no-constant-condition": "error",
312
- "no-control-regex": "error",
313
- "no-debugger": "error",
314
- "no-delete-var": "error",
315
- "no-dupe-args": "error",
316
- "no-dupe-class-members": "error",
317
- "no-dupe-else-if": "error",
318
- "no-dupe-keys": "error",
319
- "no-duplicate-case": "error",
320
- "no-empty": "error",
321
- "no-empty-character-class": "error",
322
- "no-empty-pattern": "error",
323
- "no-empty-static-block": "error",
324
- "no-ex-assign": "error",
325
- "no-extra-boolean-cast": "error",
326
- "no-fallthrough": "error",
327
- "no-func-assign": "error",
328
- "no-global-assign": "error",
329
- "no-import-assign": "error",
330
- "no-invalid-regexp": "error",
331
- "no-irregular-whitespace": "error",
332
- "no-loss-of-precision": "error",
333
- "no-misleading-character-class": "error",
334
- "no-new-native-nonconstructor": "error",
335
- "no-nonoctal-decimal-escape": "error",
336
- "no-obj-calls": "error",
337
- "no-octal": "error",
338
- "no-prototype-builtins": "error",
339
- "no-redeclare": "error",
340
- "no-regex-spaces": "error",
341
- "no-self-assign": "error",
342
- "no-setter-return": "error",
343
- "no-shadow-restricted-names": "error",
344
- "no-sparse-arrays": "error",
345
- "no-this-before-super": "error",
346
- "no-undef": "error",
347
- "no-unexpected-multiline": "error",
348
- "no-unreachable": "error",
349
- "no-unsafe-finally": "error",
350
- "no-unsafe-negation": "error",
351
- "no-unsafe-optional-chaining": "error",
352
- "no-unused-labels": "error",
353
- "no-unused-private-class-members": "error",
354
- "no-unused-vars": "error",
355
- "no-useless-backreference": "error",
356
- "no-useless-catch": "error",
357
- "no-useless-escape": "error",
358
- "no-with": "error",
359
- "require-yield": "error",
360
- "use-isnan": "error",
361
- "valid-typeof": "error"
362
- })
363
- });
364
- }
365
- });
366
-
367
- // node_modules/@eslint/js/src/index.js
368
- var require_src = __commonJS({
369
- "node_modules/@eslint/js/src/index.js"(exports, module) {
370
- "use strict";
371
- var { name: name2, version: version2 } = require_package();
372
- module.exports = {
373
- meta: {
374
- name: name2,
375
- version: version2
376
- },
377
- configs: {
378
- all: require_eslint_all(),
379
- recommended: require_eslint_recommended()
380
- }
381
- };
382
- }
383
- });
384
-
385
44
  // node_modules/globals/globals.json
386
45
  var require_globals = __commonJS({
387
46
  "node_modules/globals/globals.json"(exports, module) {
@@ -3678,21 +3337,364 @@ var require_globals = __commonJS({
3678
3337
  YUI: false,
3679
3338
  YUI_config: false
3680
3339
  }
3681
- };
3340
+ };
3341
+ }
3342
+ });
3343
+
3344
+ // node_modules/globals/index.js
3345
+ var require_globals2 = __commonJS({
3346
+ "node_modules/globals/index.js"(exports, module) {
3347
+ "use strict";
3348
+ module.exports = require_globals();
3349
+ }
3350
+ });
3351
+
3352
+ // node_modules/@eslint/js/package.json
3353
+ var require_package = __commonJS({
3354
+ "node_modules/@eslint/js/package.json"(exports, module) {
3355
+ module.exports = {
3356
+ name: "@eslint/js",
3357
+ version: "9.31.0",
3358
+ description: "ESLint JavaScript language implementation",
3359
+ funding: "https://eslint.org/donate",
3360
+ main: "./src/index.js",
3361
+ types: "./types/index.d.ts",
3362
+ scripts: {
3363
+ "test:types": "tsc -p tests/types/tsconfig.json"
3364
+ },
3365
+ files: [
3366
+ "LICENSE",
3367
+ "README.md",
3368
+ "src",
3369
+ "types"
3370
+ ],
3371
+ publishConfig: {
3372
+ access: "public"
3373
+ },
3374
+ repository: {
3375
+ type: "git",
3376
+ url: "https://github.com/eslint/eslint.git",
3377
+ directory: "packages/js"
3378
+ },
3379
+ homepage: "https://eslint.org",
3380
+ bugs: "https://github.com/eslint/eslint/issues/",
3381
+ keywords: [
3382
+ "javascript",
3383
+ "eslint-plugin",
3384
+ "eslint"
3385
+ ],
3386
+ license: "MIT",
3387
+ engines: {
3388
+ node: "^18.18.0 || ^20.9.0 || >=21.1.0"
3389
+ }
3390
+ };
3391
+ }
3392
+ });
3393
+
3394
+ // node_modules/@eslint/js/src/configs/eslint-all.js
3395
+ var require_eslint_all = __commonJS({
3396
+ "node_modules/@eslint/js/src/configs/eslint-all.js"(exports, module) {
3397
+ "use strict";
3398
+ module.exports = Object.freeze({
3399
+ "rules": {
3400
+ "accessor-pairs": "error",
3401
+ "array-callback-return": "error",
3402
+ "arrow-body-style": "error",
3403
+ "block-scoped-var": "error",
3404
+ "camelcase": "error",
3405
+ "capitalized-comments": "error",
3406
+ "class-methods-use-this": "error",
3407
+ "complexity": "error",
3408
+ "consistent-return": "error",
3409
+ "consistent-this": "error",
3410
+ "constructor-super": "error",
3411
+ "curly": "error",
3412
+ "default-case": "error",
3413
+ "default-case-last": "error",
3414
+ "default-param-last": "error",
3415
+ "dot-notation": "error",
3416
+ "eqeqeq": "error",
3417
+ "for-direction": "error",
3418
+ "func-name-matching": "error",
3419
+ "func-names": "error",
3420
+ "func-style": "error",
3421
+ "getter-return": "error",
3422
+ "grouped-accessor-pairs": "error",
3423
+ "guard-for-in": "error",
3424
+ "id-denylist": "error",
3425
+ "id-length": "error",
3426
+ "id-match": "error",
3427
+ "init-declarations": "error",
3428
+ "logical-assignment-operators": "error",
3429
+ "max-classes-per-file": "error",
3430
+ "max-depth": "error",
3431
+ "max-lines": "error",
3432
+ "max-lines-per-function": "error",
3433
+ "max-nested-callbacks": "error",
3434
+ "max-params": "error",
3435
+ "max-statements": "error",
3436
+ "new-cap": "error",
3437
+ "no-alert": "error",
3438
+ "no-array-constructor": "error",
3439
+ "no-async-promise-executor": "error",
3440
+ "no-await-in-loop": "error",
3441
+ "no-bitwise": "error",
3442
+ "no-caller": "error",
3443
+ "no-case-declarations": "error",
3444
+ "no-class-assign": "error",
3445
+ "no-compare-neg-zero": "error",
3446
+ "no-cond-assign": "error",
3447
+ "no-console": "error",
3448
+ "no-const-assign": "error",
3449
+ "no-constant-binary-expression": "error",
3450
+ "no-constant-condition": "error",
3451
+ "no-constructor-return": "error",
3452
+ "no-continue": "error",
3453
+ "no-control-regex": "error",
3454
+ "no-debugger": "error",
3455
+ "no-delete-var": "error",
3456
+ "no-div-regex": "error",
3457
+ "no-dupe-args": "error",
3458
+ "no-dupe-class-members": "error",
3459
+ "no-dupe-else-if": "error",
3460
+ "no-dupe-keys": "error",
3461
+ "no-duplicate-case": "error",
3462
+ "no-duplicate-imports": "error",
3463
+ "no-else-return": "error",
3464
+ "no-empty": "error",
3465
+ "no-empty-character-class": "error",
3466
+ "no-empty-function": "error",
3467
+ "no-empty-pattern": "error",
3468
+ "no-empty-static-block": "error",
3469
+ "no-eq-null": "error",
3470
+ "no-eval": "error",
3471
+ "no-ex-assign": "error",
3472
+ "no-extend-native": "error",
3473
+ "no-extra-bind": "error",
3474
+ "no-extra-boolean-cast": "error",
3475
+ "no-extra-label": "error",
3476
+ "no-fallthrough": "error",
3477
+ "no-func-assign": "error",
3478
+ "no-global-assign": "error",
3479
+ "no-implicit-coercion": "error",
3480
+ "no-implicit-globals": "error",
3481
+ "no-implied-eval": "error",
3482
+ "no-import-assign": "error",
3483
+ "no-inline-comments": "error",
3484
+ "no-inner-declarations": "error",
3485
+ "no-invalid-regexp": "error",
3486
+ "no-invalid-this": "error",
3487
+ "no-irregular-whitespace": "error",
3488
+ "no-iterator": "error",
3489
+ "no-label-var": "error",
3490
+ "no-labels": "error",
3491
+ "no-lone-blocks": "error",
3492
+ "no-lonely-if": "error",
3493
+ "no-loop-func": "error",
3494
+ "no-loss-of-precision": "error",
3495
+ "no-magic-numbers": "error",
3496
+ "no-misleading-character-class": "error",
3497
+ "no-multi-assign": "error",
3498
+ "no-multi-str": "error",
3499
+ "no-negated-condition": "error",
3500
+ "no-nested-ternary": "error",
3501
+ "no-new": "error",
3502
+ "no-new-func": "error",
3503
+ "no-new-native-nonconstructor": "error",
3504
+ "no-new-wrappers": "error",
3505
+ "no-nonoctal-decimal-escape": "error",
3506
+ "no-obj-calls": "error",
3507
+ "no-object-constructor": "error",
3508
+ "no-octal": "error",
3509
+ "no-octal-escape": "error",
3510
+ "no-param-reassign": "error",
3511
+ "no-plusplus": "error",
3512
+ "no-promise-executor-return": "error",
3513
+ "no-proto": "error",
3514
+ "no-prototype-builtins": "error",
3515
+ "no-redeclare": "error",
3516
+ "no-regex-spaces": "error",
3517
+ "no-restricted-exports": "error",
3518
+ "no-restricted-globals": "error",
3519
+ "no-restricted-imports": "error",
3520
+ "no-restricted-properties": "error",
3521
+ "no-restricted-syntax": "error",
3522
+ "no-return-assign": "error",
3523
+ "no-script-url": "error",
3524
+ "no-self-assign": "error",
3525
+ "no-self-compare": "error",
3526
+ "no-sequences": "error",
3527
+ "no-setter-return": "error",
3528
+ "no-shadow": "error",
3529
+ "no-shadow-restricted-names": "error",
3530
+ "no-sparse-arrays": "error",
3531
+ "no-template-curly-in-string": "error",
3532
+ "no-ternary": "error",
3533
+ "no-this-before-super": "error",
3534
+ "no-throw-literal": "error",
3535
+ "no-unassigned-vars": "error",
3536
+ "no-undef": "error",
3537
+ "no-undef-init": "error",
3538
+ "no-undefined": "error",
3539
+ "no-underscore-dangle": "error",
3540
+ "no-unexpected-multiline": "error",
3541
+ "no-unmodified-loop-condition": "error",
3542
+ "no-unneeded-ternary": "error",
3543
+ "no-unreachable": "error",
3544
+ "no-unreachable-loop": "error",
3545
+ "no-unsafe-finally": "error",
3546
+ "no-unsafe-negation": "error",
3547
+ "no-unsafe-optional-chaining": "error",
3548
+ "no-unused-expressions": "error",
3549
+ "no-unused-labels": "error",
3550
+ "no-unused-private-class-members": "error",
3551
+ "no-unused-vars": "error",
3552
+ "no-use-before-define": "error",
3553
+ "no-useless-assignment": "error",
3554
+ "no-useless-backreference": "error",
3555
+ "no-useless-call": "error",
3556
+ "no-useless-catch": "error",
3557
+ "no-useless-computed-key": "error",
3558
+ "no-useless-concat": "error",
3559
+ "no-useless-constructor": "error",
3560
+ "no-useless-escape": "error",
3561
+ "no-useless-rename": "error",
3562
+ "no-useless-return": "error",
3563
+ "no-var": "error",
3564
+ "no-void": "error",
3565
+ "no-warning-comments": "error",
3566
+ "no-with": "error",
3567
+ "object-shorthand": "error",
3568
+ "one-var": "error",
3569
+ "operator-assignment": "error",
3570
+ "prefer-arrow-callback": "error",
3571
+ "prefer-const": "error",
3572
+ "prefer-destructuring": "error",
3573
+ "prefer-exponentiation-operator": "error",
3574
+ "prefer-named-capture-group": "error",
3575
+ "prefer-numeric-literals": "error",
3576
+ "prefer-object-has-own": "error",
3577
+ "prefer-object-spread": "error",
3578
+ "prefer-promise-reject-errors": "error",
3579
+ "prefer-regex-literals": "error",
3580
+ "prefer-rest-params": "error",
3581
+ "prefer-spread": "error",
3582
+ "prefer-template": "error",
3583
+ "radix": "error",
3584
+ "require-atomic-updates": "error",
3585
+ "require-await": "error",
3586
+ "require-unicode-regexp": "error",
3587
+ "require-yield": "error",
3588
+ "sort-imports": "error",
3589
+ "sort-keys": "error",
3590
+ "sort-vars": "error",
3591
+ "strict": "error",
3592
+ "symbol-description": "error",
3593
+ "unicode-bom": "error",
3594
+ "use-isnan": "error",
3595
+ "valid-typeof": "error",
3596
+ "vars-on-top": "error",
3597
+ "yoda": "error"
3598
+ }
3599
+ });
3682
3600
  }
3683
3601
  });
3684
3602
 
3685
- // node_modules/globals/index.js
3686
- var require_globals2 = __commonJS({
3687
- "node_modules/globals/index.js"(exports, module) {
3603
+ // node_modules/@eslint/js/src/configs/eslint-recommended.js
3604
+ var require_eslint_recommended = __commonJS({
3605
+ "node_modules/@eslint/js/src/configs/eslint-recommended.js"(exports, module) {
3688
3606
  "use strict";
3689
- module.exports = require_globals();
3607
+ module.exports = Object.freeze({
3608
+ rules: Object.freeze({
3609
+ "constructor-super": "error",
3610
+ "for-direction": "error",
3611
+ "getter-return": "error",
3612
+ "no-async-promise-executor": "error",
3613
+ "no-case-declarations": "error",
3614
+ "no-class-assign": "error",
3615
+ "no-compare-neg-zero": "error",
3616
+ "no-cond-assign": "error",
3617
+ "no-const-assign": "error",
3618
+ "no-constant-binary-expression": "error",
3619
+ "no-constant-condition": "error",
3620
+ "no-control-regex": "error",
3621
+ "no-debugger": "error",
3622
+ "no-delete-var": "error",
3623
+ "no-dupe-args": "error",
3624
+ "no-dupe-class-members": "error",
3625
+ "no-dupe-else-if": "error",
3626
+ "no-dupe-keys": "error",
3627
+ "no-duplicate-case": "error",
3628
+ "no-empty": "error",
3629
+ "no-empty-character-class": "error",
3630
+ "no-empty-pattern": "error",
3631
+ "no-empty-static-block": "error",
3632
+ "no-ex-assign": "error",
3633
+ "no-extra-boolean-cast": "error",
3634
+ "no-fallthrough": "error",
3635
+ "no-func-assign": "error",
3636
+ "no-global-assign": "error",
3637
+ "no-import-assign": "error",
3638
+ "no-invalid-regexp": "error",
3639
+ "no-irregular-whitespace": "error",
3640
+ "no-loss-of-precision": "error",
3641
+ "no-misleading-character-class": "error",
3642
+ "no-new-native-nonconstructor": "error",
3643
+ "no-nonoctal-decimal-escape": "error",
3644
+ "no-obj-calls": "error",
3645
+ "no-octal": "error",
3646
+ "no-prototype-builtins": "error",
3647
+ "no-redeclare": "error",
3648
+ "no-regex-spaces": "error",
3649
+ "no-self-assign": "error",
3650
+ "no-setter-return": "error",
3651
+ "no-shadow-restricted-names": "error",
3652
+ "no-sparse-arrays": "error",
3653
+ "no-this-before-super": "error",
3654
+ "no-undef": "error",
3655
+ "no-unexpected-multiline": "error",
3656
+ "no-unreachable": "error",
3657
+ "no-unsafe-finally": "error",
3658
+ "no-unsafe-negation": "error",
3659
+ "no-unsafe-optional-chaining": "error",
3660
+ "no-unused-labels": "error",
3661
+ "no-unused-private-class-members": "error",
3662
+ "no-unused-vars": "error",
3663
+ "no-useless-backreference": "error",
3664
+ "no-useless-catch": "error",
3665
+ "no-useless-escape": "error",
3666
+ "no-with": "error",
3667
+ "require-yield": "error",
3668
+ "use-isnan": "error",
3669
+ "valid-typeof": "error"
3670
+ })
3671
+ });
3690
3672
  }
3691
3673
  });
3692
3674
 
3693
- // package.json
3694
- var name = "@alextheman/eslint-plugin";
3695
- var version = "1.2.10";
3675
+ // node_modules/@eslint/js/src/index.js
3676
+ var require_src = __commonJS({
3677
+ "node_modules/@eslint/js/src/index.js"(exports, module) {
3678
+ "use strict";
3679
+ var { name: name2, version: version2 } = require_package();
3680
+ module.exports = {
3681
+ meta: {
3682
+ name: name2,
3683
+ version: version2
3684
+ },
3685
+ configs: {
3686
+ all: require_eslint_all(),
3687
+ recommended: require_eslint_recommended()
3688
+ }
3689
+ };
3690
+ }
3691
+ });
3692
+
3693
+ // src/index.ts
3694
+ var import_globals2 = __toESM(require_globals2(), 1);
3695
+ import reactPlugin from "eslint-plugin-react";
3696
+ import reactHooks from "eslint-plugin-react-hooks";
3697
+ import reactRefresh from "eslint-plugin-react-refresh";
3696
3698
 
3697
3699
  // src/create-rule.ts
3698
3700
  import { ESLintUtils } from "@typescript-eslint/utils";
@@ -3827,9 +3829,10 @@ var import_js = __toESM(require_src(), 1);
3827
3829
  var import_globals = __toESM(require_globals2(), 1);
3828
3830
  import eslintPlugin from "@typescript-eslint/eslint-plugin";
3829
3831
  import tsparser from "@typescript-eslint/parser";
3830
- import importPlugin from "eslint-plugin-import";
3831
3832
  import prettierConfig from "eslint-config-prettier";
3833
+ import importPlugin from "eslint-plugin-import";
3832
3834
  import prettierPlugin from "eslint-plugin-prettier";
3835
+ import eslintPluginSimpleImportSort from "eslint-plugin-simple-import-sort";
3833
3836
  var warnOnFixButErrorOnLint = process.env.ESLINT_MODE === "fix" ? "warn" : "error";
3834
3837
  var prettierRules = {
3835
3838
  printWidth: 100
@@ -3858,7 +3861,8 @@ var eslint_config_default = [
3858
3861
  plugins: {
3859
3862
  "@typescript-eslint": eslintPlugin,
3860
3863
  import: importPlugin,
3861
- prettier: prettierPlugin
3864
+ prettier: prettierPlugin,
3865
+ "simple-import-sort": eslintPluginSimpleImportSort
3862
3866
  },
3863
3867
  rules: {
3864
3868
  "import/no-unresolved": warnOnFixButErrorOnLint,
@@ -3875,6 +3879,27 @@ var eslint_config_default = [
3875
3879
  ]
3876
3880
  }
3877
3881
  ],
3882
+ "import/order": [
3883
+ warnOnFixButErrorOnLint,
3884
+ {
3885
+ alphabetize: {
3886
+ order: "asc",
3887
+ caseInsensitive: true
3888
+ },
3889
+ groups: ["builtin", "external", "internal"],
3890
+ named: true,
3891
+ pathGroups: [
3892
+ {
3893
+ pattern: "src/**",
3894
+ group: "external",
3895
+ position: "after"
3896
+ }
3897
+ ],
3898
+ pathGroupsExcludedImportTypes: ["builtin"],
3899
+ "newlines-between": "always"
3900
+ }
3901
+ ],
3902
+ "simple-import-sort/exports": warnOnFixButErrorOnLint,
3878
3903
  "@typescript-eslint/no-unused-vars": [
3879
3904
  warnOnFixButErrorOnLint,
3880
3905
  {
@@ -3898,11 +3923,11 @@ var eslint_config_default = [
3898
3923
  }
3899
3924
  ];
3900
3925
 
3926
+ // package.json
3927
+ var name = "@alextheman/eslint-plugin";
3928
+ var version = "1.2.11";
3929
+
3901
3930
  // src/index.ts
3902
- var import_globals2 = __toESM(require_globals2(), 1);
3903
- import reactHooks from "eslint-plugin-react-hooks";
3904
- import reactRefresh from "eslint-plugin-react-refresh";
3905
- import reactPlugin from "eslint-plugin-react";
3906
3931
  var plugin = {
3907
3932
  meta: {
3908
3933
  name,