@enigmatry/eslint-config 21.1.1 → 21.2.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.
Files changed (2) hide show
  1. package/index.js +148 -151
  2. package/package.json +12 -10
package/index.js CHANGED
@@ -4,7 +4,7 @@ import angular from "angular-eslint";
4
4
  import pluginPromise from "eslint-plugin-promise";
5
5
  import stylistic from "@stylistic/eslint-plugin";
6
6
  import noSecrets from "eslint-plugin-no-secrets";
7
- import importPlugin from "eslint-plugin-import";
7
+ //import importPlugin from "eslint-plugin-import";
8
8
  import nounsanitized from "eslint-plugin-no-unsanitized";
9
9
  import unusedImports from "eslint-plugin-unused-imports";
10
10
  import arrowFunctions from "eslint-plugin-prefer-arrow-functions";
@@ -31,7 +31,7 @@ export default defineConfig(
31
31
  "no-unsanitized": nounsanitized,
32
32
  "@stylistic": stylistic,
33
33
  "@typescript-eslint": tseslint.plugin,
34
- "import": importPlugin,
34
+ //"import": importPlugin,
35
35
  "no-secrets": noSecrets,
36
36
  "prefer-arrow-functions": arrowFunctions,
37
37
  "promise": pluginPromise,
@@ -103,6 +103,7 @@ export default defineConfig(
103
103
  "tab"
104
104
  ],
105
105
  "@stylistic/indent-binary-ops": "off",
106
+ "@stylistic/jsx-props-style": "off",
106
107
  "@stylistic/jsx-quotes": "error",
107
108
  "@stylistic/key-spacing": "error",
108
109
  "@stylistic/keyword-spacing": "off",
@@ -207,12 +208,8 @@ export default defineConfig(
207
208
  "error",
208
209
  {
209
210
  "after": true,
210
- "before": false,
211
+ "before": true,
211
212
  "overrides": {
212
- "arrow": {
213
- "after": true,
214
- "before": true
215
- },
216
213
  "colon": {
217
214
  "after": true,
218
215
  "before": false
@@ -391,150 +388,150 @@ export default defineConfig(
391
388
  }
392
389
  ],
393
390
  "id-match": "off",
394
- "import/consistent-type-specifier-style": [
395
- "off"
396
- ],
397
- "import/default": [
398
- "error"
399
- ],
400
- "import/dynamic-import-chunkname": [
401
- "off"
402
- ],
403
- "import/enforce-node-protocol-usage": [
404
- "warn",
405
- "never"
406
- ],
407
- "import/export": [
408
- "error"
409
- ],
410
- "import/exports-last": [
411
- "off"
412
- ],
413
- "import/extensions": [
414
- "off",
415
- "never"
416
- ],
417
- "import/first": [
418
- "error"
419
- ],
420
- "import/max-dependencies": [
421
- "error",
422
- {
423
- "ignoreTypeImports": false,
424
- "max": 20
425
- }
426
- ],
427
- "import/named": [
428
- "off"
429
- ],
430
- "import/namespace": [
431
- "error"
432
- ],
433
- "import/newline-after-import": [
434
- "error"
435
- ],
436
- "import/no-absolute-path": [
437
- "off"
438
- ],
439
- "import/no-amd": [
440
- "error"
441
- ],
442
- "import/no-anonymous-default-export": [
443
- "error"
444
- ],
445
- "import/no-commonjs": [
446
- "error"
447
- ],
448
- "import/no-cycle": [
449
- "error"
450
- ],
451
- "import/no-default-export": [
452
- "off"
453
- ],
454
- "import/no-deprecated": [
455
- "error"
456
- ],
457
- "import/no-duplicates": [
458
- "error"
459
- ],
460
- "import/no-dynamic-require": [
461
- "off"
462
- ],
463
- "import/no-empty-named-blocks": [
464
- "error"
465
- ],
466
- "import/no-extraneous-dependencies": [
467
- "error"
468
- ],
469
- "import/no-import-module-exports": [
470
- "error"
471
- ],
472
- "import/no-internal-modules": [
473
- "off"
474
- ],
475
- "import/no-mutable-exports": [
476
- "error"
477
- ],
478
- "import/no-named-as-default": [
479
- "error"
480
- ],
481
- "import/no-named-as-default-member": [
482
- "error"
483
- ],
484
- "import/no-named-default": [
485
- "error"
486
- ],
487
- "import/no-named-export": [
488
- "off"
489
- ],
490
- "import/no-namespace": [
491
- "off"
492
- ],
493
- "import/no-nodejs-modules": [
494
- "off"
495
- ],
496
- "import/no-relative-packages": [
497
- "off"
498
- ],
499
- "import/no-relative-parent-imports": [
500
- "off"
501
- ],
502
- "import/no-restricted-paths": [
503
- "off"
504
- ],
505
- "import/no-self-import": [
506
- "error"
507
- ],
508
- "import/no-unassigned-import": [
509
- "off"
510
- ],
511
- "import/no-unresolved": [
512
- "off"
513
- ],
514
- "import/no-unused-modules": [
515
- "off"
516
- ],
517
- "import/no-useless-path-segments": [
518
- "error"
519
- ],
520
- "import/no-webpack-loader-syntax": [
521
- "error"
522
- ],
523
- "import/order": [
524
- "error",
525
- {
526
- "alphabetize": {
527
- "caseInsensitive": true,
528
- "order": "asc"
529
- }
530
- }
531
- ],
532
- "import/prefer-default-export": [
533
- "off"
534
- ],
535
- "import/unambiguous": [
536
- "error"
537
- ],
391
+ // "import/consistent-type-specifier-style": [
392
+ // "off"
393
+ // ],
394
+ // "import/default": [
395
+ // "error"
396
+ // ],
397
+ // "import/dynamic-import-chunkname": [
398
+ // "off"
399
+ // ],
400
+ // "import/enforce-node-protocol-usage": [
401
+ // "warn",
402
+ // "never"
403
+ // ],
404
+ // "import/export": [
405
+ // "error"
406
+ // ],
407
+ // "import/exports-last": [
408
+ // "off"
409
+ // ],
410
+ // "import/extensions": [
411
+ // "off",
412
+ // "never"
413
+ // ],
414
+ // "import/first": [
415
+ // "error"
416
+ // ],
417
+ // "import/max-dependencies": [
418
+ // "error",
419
+ // {
420
+ // "ignoreTypeImports": false,
421
+ // "max": 20
422
+ // }
423
+ // ],
424
+ // "import/named": [
425
+ // "off"
426
+ // ],
427
+ // "import/namespace": [
428
+ // "error"
429
+ // ],
430
+ // "import/newline-after-import": [
431
+ // "error"
432
+ // ],
433
+ // "import/no-absolute-path": [
434
+ // "off"
435
+ // ],
436
+ // "import/no-amd": [
437
+ // "error"
438
+ // ],
439
+ // "import/no-anonymous-default-export": [
440
+ // "error"
441
+ // ],
442
+ // "import/no-commonjs": [
443
+ // "error"
444
+ // ],
445
+ // "import/no-cycle": [
446
+ // "error"
447
+ // ],
448
+ // "import/no-default-export": [
449
+ // "off"
450
+ // ],
451
+ // "import/no-deprecated": [
452
+ // "error"
453
+ // ],
454
+ // "import/no-duplicates": [
455
+ // "error"
456
+ // ],
457
+ // "import/no-dynamic-require": [
458
+ // "off"
459
+ // ],
460
+ // "import/no-empty-named-blocks": [
461
+ // "error"
462
+ // ],
463
+ // "import/no-extraneous-dependencies": [
464
+ // "error"
465
+ // ],
466
+ // "import/no-import-module-exports": [
467
+ // "error"
468
+ // ],
469
+ // "import/no-internal-modules": [
470
+ // "off"
471
+ // ],
472
+ // "import/no-mutable-exports": [
473
+ // "error"
474
+ // ],
475
+ // "import/no-named-as-default": [
476
+ // "error"
477
+ // ],
478
+ // "import/no-named-as-default-member": [
479
+ // "error"
480
+ // ],
481
+ // "import/no-named-default": [
482
+ // "error"
483
+ // ],
484
+ // "import/no-named-export": [
485
+ // "off"
486
+ // ],
487
+ // "import/no-namespace": [
488
+ // "off"
489
+ // ],
490
+ // "import/no-nodejs-modules": [
491
+ // "off"
492
+ // ],
493
+ // "import/no-relative-packages": [
494
+ // "off"
495
+ // ],
496
+ // "import/no-relative-parent-imports": [
497
+ // "off"
498
+ // ],
499
+ // "import/no-restricted-paths": [
500
+ // "off"
501
+ // ],
502
+ // "import/no-self-import": [
503
+ // "error"
504
+ // ],
505
+ // "import/no-unassigned-import": [
506
+ // "off"
507
+ // ],
508
+ // "import/no-unresolved": [
509
+ // "off"
510
+ // ],
511
+ // "import/no-unused-modules": [
512
+ // "off"
513
+ // ],
514
+ // "import/no-useless-path-segments": [
515
+ // "error"
516
+ // ],
517
+ // "import/no-webpack-loader-syntax": [
518
+ // "error"
519
+ // ],
520
+ // "import/order": [
521
+ // "error",
522
+ // {
523
+ // "alphabetize": {
524
+ // "caseInsensitive": true,
525
+ // "order": "asc"
526
+ // }
527
+ // }
528
+ // ],
529
+ // "import/prefer-default-export": [
530
+ // "off"
531
+ // ],
532
+ // "import/unambiguous": [
533
+ // "error"
534
+ // ],
538
535
  "init-declarations": "off",
539
536
  "max-classes-per-file": [
540
537
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enigmatry/eslint-config",
3
- "version": "21.1.1",
3
+ "version": "21.2.1",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "author": "Enigmatry",
@@ -15,16 +15,18 @@
15
15
  "index.js"
16
16
  ],
17
17
  "dependencies": {
18
- "@stylistic/eslint-plugin": "5.7.1",
19
- "eslint-plugin-import": "2.32.0",
20
- "eslint-plugin-no-secrets": "2.2.1",
21
- "eslint-plugin-no-unsanitized": "4.1.4",
18
+ "@stylistic/eslint-plugin": "5.10.0",
19
+ "eslint-plugin-no-secrets": "2.3.3",
20
+ "eslint-plugin-no-unsanitized": "4.1.5",
22
21
  "eslint-plugin-prefer-arrow-functions": "3.9.1",
23
- "eslint-plugin-promise": "7.2.1",
24
- "eslint-plugin-unused-imports": "4.3.0",
25
- "angular-eslint": "21.2.0",
26
- "typescript-eslint": "8.54.0",
27
- "eslint": "9.39.2"
22
+ "eslint-plugin-promise": "7.3.0",
23
+ "eslint-plugin-unused-imports": "4.4.1",
24
+ "angular-eslint": "21.3.1",
25
+ "typescript-eslint": "8.59.1",
26
+ "eslint": "10.2.1"
27
+ },
28
+ "deprecatedDependencies": {
29
+ "eslint-plugin-import": "2.32.0 is out of support. Add it back to the list if support for ESLint v10+ is added"
28
30
  },
29
31
  "publishConfig": {
30
32
  "access": "public"