@sxzz/eslint-config 3.6.2 → 3.6.3

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 (3) hide show
  1. package/dist/index.cjs +48 -47
  2. package/dist/index.js +48 -47
  3. package/package.json +12 -12
package/dist/index.cjs CHANGED
@@ -617,70 +617,39 @@ var sortTsconfig = [
617
617
  "disableReferencedProjectLoad",
618
618
  /* Language and Environment */
619
619
  "target",
620
- "lib",
621
620
  "jsx",
622
- "experimentalDecorators",
623
- "emitDecoratorMetadata",
624
621
  "jsxFactory",
625
622
  "jsxFragmentFactory",
626
623
  "jsxImportSource",
627
- "reactNamespace",
624
+ "lib",
625
+ "moduleDetection",
628
626
  "noLib",
627
+ "reactNamespace",
629
628
  "useDefineForClassFields",
630
- "moduleDetection",
629
+ "emitDecoratorMetadata",
630
+ "experimentalDecorators",
631
631
  /* Modules */
632
- "module",
633
- "rootDir",
634
- "moduleResolution",
635
632
  "baseUrl",
636
- "paths",
633
+ "rootDir",
637
634
  "rootDirs",
638
- "typeRoots",
639
- "types",
640
- "allowUmdGlobalAccess",
635
+ "customConditions",
636
+ "module",
637
+ "moduleResolution",
641
638
  "moduleSuffixes",
642
- "allowImportingTsExtensions",
639
+ "noResolve",
640
+ "paths",
641
+ "resolveJsonModule",
643
642
  "resolvePackageJsonExports",
644
643
  "resolvePackageJsonImports",
645
- "customConditions",
646
- "resolveJsonModule",
644
+ "typeRoots",
645
+ "types",
647
646
  "allowArbitraryExtensions",
648
- "noResolve",
647
+ "allowImportingTsExtensions",
648
+ "allowUmdGlobalAccess",
649
649
  /* JavaScript Support */
650
650
  "allowJs",
651
651
  "checkJs",
652
652
  "maxNodeModuleJsDepth",
653
- /* Emit */
654
- "declaration",
655
- "declarationMap",
656
- "emitDeclarationOnly",
657
- "sourceMap",
658
- "inlineSourceMap",
659
- "outFile",
660
- "outDir",
661
- "removeComments",
662
- "noEmit",
663
- "importHelpers",
664
- "importsNotUsedAsValues",
665
- "downlevelIteration",
666
- "sourceRoot",
667
- "mapRoot",
668
- "inlineSources",
669
- "emitBOM",
670
- "newLine",
671
- "stripInternal",
672
- "noEmitHelpers",
673
- "noEmitOnError",
674
- "preserveConstEnums",
675
- "declarationDir",
676
- "preserveValueImports",
677
- /* Interop Constraints */
678
- "isolatedModules",
679
- "verbatimModuleSyntax",
680
- "allowSyntheticDefaultImports",
681
- "esModuleInterop",
682
- "preserveSymlinks",
683
- "forceConsistentCasingInFileNames",
684
653
  /* Type Checking */
685
654
  "strict",
686
655
  "strictBindCallApply",
@@ -701,6 +670,37 @@ var sortTsconfig = [
701
670
  "noUnusedLocals",
702
671
  "noUnusedParameters",
703
672
  "useUnknownInCatchVariables",
673
+ /* Emit */
674
+ "declaration",
675
+ "declarationDir",
676
+ "declarationMap",
677
+ "downlevelIteration",
678
+ "emitBOM",
679
+ "emitDeclarationOnly",
680
+ "importHelpers",
681
+ "importsNotUsedAsValues",
682
+ "inlineSourceMap",
683
+ "inlineSources",
684
+ "mapRoot",
685
+ "newLine",
686
+ "noEmit",
687
+ "noEmitHelpers",
688
+ "noEmitOnError",
689
+ "outDir",
690
+ "outFile",
691
+ "preserveConstEnums",
692
+ "preserveValueImports",
693
+ "removeComments",
694
+ "sourceMap",
695
+ "sourceRoot",
696
+ "stripInternal",
697
+ /* Interop Constraints */
698
+ "allowSyntheticDefaultImports",
699
+ "esModuleInterop",
700
+ "forceConsistentCasingInFileNames",
701
+ "isolatedModules",
702
+ "preserveSymlinks",
703
+ "verbatimModuleSyntax",
704
704
  /* Completeness */
705
705
  "skipDefaultLibCheck",
706
706
  "skipLibCheck"
@@ -743,6 +743,7 @@ var typescript = [
743
743
  { disallowTypeAnnotations: false, fixStyle: "inline-type-imports" }
744
744
  ],
745
745
  "@typescript-eslint/no-explicit-any": "off",
746
+ "@typescript-eslint/no-import-type-side-effects": "error",
746
747
  "@typescript-eslint/no-non-null-assertion": "off",
747
748
  "@typescript-eslint/no-redeclare": "error",
748
749
  // handled by unused-imports/no-unused-imports
package/dist/index.js CHANGED
@@ -518,70 +518,39 @@ var sortTsconfig = [
518
518
  "disableReferencedProjectLoad",
519
519
  /* Language and Environment */
520
520
  "target",
521
- "lib",
522
521
  "jsx",
523
- "experimentalDecorators",
524
- "emitDecoratorMetadata",
525
522
  "jsxFactory",
526
523
  "jsxFragmentFactory",
527
524
  "jsxImportSource",
528
- "reactNamespace",
525
+ "lib",
526
+ "moduleDetection",
529
527
  "noLib",
528
+ "reactNamespace",
530
529
  "useDefineForClassFields",
531
- "moduleDetection",
530
+ "emitDecoratorMetadata",
531
+ "experimentalDecorators",
532
532
  /* Modules */
533
- "module",
534
- "rootDir",
535
- "moduleResolution",
536
533
  "baseUrl",
537
- "paths",
534
+ "rootDir",
538
535
  "rootDirs",
539
- "typeRoots",
540
- "types",
541
- "allowUmdGlobalAccess",
536
+ "customConditions",
537
+ "module",
538
+ "moduleResolution",
542
539
  "moduleSuffixes",
543
- "allowImportingTsExtensions",
540
+ "noResolve",
541
+ "paths",
542
+ "resolveJsonModule",
544
543
  "resolvePackageJsonExports",
545
544
  "resolvePackageJsonImports",
546
- "customConditions",
547
- "resolveJsonModule",
545
+ "typeRoots",
546
+ "types",
548
547
  "allowArbitraryExtensions",
549
- "noResolve",
548
+ "allowImportingTsExtensions",
549
+ "allowUmdGlobalAccess",
550
550
  /* JavaScript Support */
551
551
  "allowJs",
552
552
  "checkJs",
553
553
  "maxNodeModuleJsDepth",
554
- /* Emit */
555
- "declaration",
556
- "declarationMap",
557
- "emitDeclarationOnly",
558
- "sourceMap",
559
- "inlineSourceMap",
560
- "outFile",
561
- "outDir",
562
- "removeComments",
563
- "noEmit",
564
- "importHelpers",
565
- "importsNotUsedAsValues",
566
- "downlevelIteration",
567
- "sourceRoot",
568
- "mapRoot",
569
- "inlineSources",
570
- "emitBOM",
571
- "newLine",
572
- "stripInternal",
573
- "noEmitHelpers",
574
- "noEmitOnError",
575
- "preserveConstEnums",
576
- "declarationDir",
577
- "preserveValueImports",
578
- /* Interop Constraints */
579
- "isolatedModules",
580
- "verbatimModuleSyntax",
581
- "allowSyntheticDefaultImports",
582
- "esModuleInterop",
583
- "preserveSymlinks",
584
- "forceConsistentCasingInFileNames",
585
554
  /* Type Checking */
586
555
  "strict",
587
556
  "strictBindCallApply",
@@ -602,6 +571,37 @@ var sortTsconfig = [
602
571
  "noUnusedLocals",
603
572
  "noUnusedParameters",
604
573
  "useUnknownInCatchVariables",
574
+ /* Emit */
575
+ "declaration",
576
+ "declarationDir",
577
+ "declarationMap",
578
+ "downlevelIteration",
579
+ "emitBOM",
580
+ "emitDeclarationOnly",
581
+ "importHelpers",
582
+ "importsNotUsedAsValues",
583
+ "inlineSourceMap",
584
+ "inlineSources",
585
+ "mapRoot",
586
+ "newLine",
587
+ "noEmit",
588
+ "noEmitHelpers",
589
+ "noEmitOnError",
590
+ "outDir",
591
+ "outFile",
592
+ "preserveConstEnums",
593
+ "preserveValueImports",
594
+ "removeComments",
595
+ "sourceMap",
596
+ "sourceRoot",
597
+ "stripInternal",
598
+ /* Interop Constraints */
599
+ "allowSyntheticDefaultImports",
600
+ "esModuleInterop",
601
+ "forceConsistentCasingInFileNames",
602
+ "isolatedModules",
603
+ "preserveSymlinks",
604
+ "verbatimModuleSyntax",
605
605
  /* Completeness */
606
606
  "skipDefaultLibCheck",
607
607
  "skipLibCheck"
@@ -644,6 +644,7 @@ var typescript = [
644
644
  { disallowTypeAnnotations: false, fixStyle: "inline-type-imports" }
645
645
  ],
646
646
  "@typescript-eslint/no-explicit-any": "off",
647
+ "@typescript-eslint/no-import-type-side-effects": "error",
647
648
  "@typescript-eslint/no-non-null-assertion": "off",
648
649
  "@typescript-eslint/no-redeclare": "error",
649
650
  // handled by unused-imports/no-unused-imports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sxzz/eslint-config",
3
- "version": "3.6.2",
3
+ "version": "3.6.3",
4
4
  "packageManager": "pnpm@8.8.0",
5
5
  "description": "ESLint config for @sxzz.",
6
6
  "type": "module",
@@ -31,33 +31,33 @@
31
31
  "eslint": "^8.0.0"
32
32
  },
33
33
  "dependencies": {
34
- "@typescript-eslint/eslint-plugin": "^6.7.3",
35
- "@typescript-eslint/parser": "^6.7.3",
36
- "@unocss/eslint-plugin": "^0.56.4",
34
+ "@typescript-eslint/eslint-plugin": "^6.7.5",
35
+ "@typescript-eslint/parser": "^6.7.5",
36
+ "@unocss/eslint-plugin": "^0.56.5",
37
37
  "eslint-config-prettier": "^9.0.0",
38
- "eslint-define-config": "^1.23.0",
39
- "eslint-plugin-antfu": "^0.43.1",
38
+ "eslint-define-config": "^1.24.1",
39
+ "eslint-plugin-antfu": "^1.0.0-beta.12",
40
40
  "eslint-plugin-eslint-comments": "^3.2.0",
41
41
  "eslint-plugin-i": "^2.28.1",
42
- "eslint-plugin-jsonc": "^2.9.0",
42
+ "eslint-plugin-jsonc": "^2.10.0",
43
43
  "eslint-plugin-markdown": "^3.0.1",
44
44
  "eslint-plugin-prettier": "^5.0.0",
45
45
  "eslint-plugin-unicorn": "^48.0.1",
46
46
  "eslint-plugin-unused-imports": "^3.0.0",
47
47
  "eslint-plugin-vue": "^9.17.0",
48
- "eslint-plugin-yml": "^1.9.0",
49
- "globals": "^13.22.0",
48
+ "eslint-plugin-yml": "^1.10.0",
49
+ "globals": "^13.23.0",
50
50
  "jsonc-eslint-parser": "^2.3.0",
51
51
  "local-pkg": "^0.5.0",
52
52
  "prettier": "^3.0.3",
53
- "vue-eslint-parser": "^9.3.1",
53
+ "vue-eslint-parser": "^9.3.2",
54
54
  "yaml-eslint-parser": "^1.2.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@sxzz/prettier-config": "^1.0.4",
58
- "@types/node": "^20.8.0",
58
+ "@types/node": "^20.8.4",
59
59
  "bumpp": "^9.2.0",
60
- "eslint": "^8.50.0",
60
+ "eslint": "^8.51.0",
61
61
  "eslint-plugin-sort-keys": "^2.3.5",
62
62
  "sucrase": "^3.34.0",
63
63
  "tsup": "^7.2.0",