@monorepolint/rules 0.5.0-alpha.103 → 0.5.0-alpha.107

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 (75) hide show
  1. package/.turbo/turbo-lint.log +34 -31
  2. package/.turbo/turbo-test.log +131 -124
  3. package/.turbo/turbo-transpile-typescript.log +9 -9
  4. package/build/js/chunk-GMT7IGKM.js +25 -0
  5. package/build/js/chunk-GMT7IGKM.js.map +1 -0
  6. package/build/js/index.js +61 -94
  7. package/build/js/index.js.map +1 -1
  8. package/build/js/public/util.js +7 -0
  9. package/build/js/public/util.js.map +1 -0
  10. package/build/tsconfig.tsbuildinfo +1 -1
  11. package/build/types/alphabeticalDependencies.d.ts +1 -15
  12. package/build/types/alphabeticalDependencies.d.ts.map +1 -1
  13. package/build/types/alphabeticalScripts.d.ts +1 -15
  14. package/build/types/alphabeticalScripts.d.ts.map +1 -1
  15. package/build/types/bannedDependencies.d.ts +36 -104
  16. package/build/types/bannedDependencies.d.ts.map +1 -1
  17. package/build/types/consistentDependencies.d.ts +3 -23
  18. package/build/types/consistentDependencies.d.ts.map +1 -1
  19. package/build/types/consistentVersions.d.ts +8 -34
  20. package/build/types/consistentVersions.d.ts.map +1 -1
  21. package/build/types/fileContents.d.ts +17 -89
  22. package/build/types/fileContents.d.ts.map +1 -1
  23. package/build/types/index.d.ts +13 -13
  24. package/build/types/index.d.ts.map +1 -1
  25. package/build/types/mustSatisfyPeerDependencies.d.ts +189 -483
  26. package/build/types/mustSatisfyPeerDependencies.d.ts.map +1 -1
  27. package/build/types/nestedWorkspaces.d.ts +1 -15
  28. package/build/types/nestedWorkspaces.d.ts.map +1 -1
  29. package/build/types/packageEntry.d.ts +30 -91
  30. package/build/types/packageEntry.d.ts.map +1 -1
  31. package/build/types/packageOrder.d.ts +3 -23
  32. package/build/types/packageOrder.d.ts.map +1 -1
  33. package/build/types/packageScript.d.ts +16 -68
  34. package/build/types/packageScript.d.ts.map +1 -1
  35. package/build/types/public/util.d.ts +2 -0
  36. package/build/types/public/util.d.ts.map +1 -0
  37. package/build/types/requireDependency.d.ts +22 -86
  38. package/build/types/requireDependency.d.ts.map +1 -1
  39. package/build/types/standardTsconfig.d.ts +9 -69
  40. package/build/types/standardTsconfig.d.ts.map +1 -1
  41. package/build/types/util/makeRule.d.ts +13 -0
  42. package/build/types/util/makeRule.d.ts.map +1 -0
  43. package/package.json +18 -12
  44. package/src/__tests__/alphabeticalScripts.spec.ts +2 -2
  45. package/src/__tests__/bannedDependencies.spec.ts +1 -3
  46. package/src/__tests__/consistentDependencies.spec.ts +2 -2
  47. package/src/__tests__/consistentVersions.spec.ts +1 -1
  48. package/src/__tests__/fileContents.spec.ts +16 -12
  49. package/src/__tests__/mustSatisfyPeerDependencies.spec.ts +1 -1
  50. package/src/__tests__/nestedWorkspaces.spec.ts +1 -1
  51. package/src/__tests__/packageEntry.spec.ts +40 -30
  52. package/src/__tests__/packageOrder.spec.ts +20 -12
  53. package/src/__tests__/packageScript.spec.ts +55 -39
  54. package/src/__tests__/requireDependency.spec.ts +2 -2
  55. package/src/alphabeticalDependencies.ts +5 -7
  56. package/src/alphabeticalScripts.ts +5 -7
  57. package/src/bannedDependencies.ts +6 -8
  58. package/src/consistentDependencies.ts +6 -7
  59. package/src/consistentVersions.ts +5 -6
  60. package/src/fileContents.ts +7 -8
  61. package/src/index.ts +13 -13
  62. package/src/mustSatisfyPeerDependencies.ts +5 -9
  63. package/src/nestedWorkspaces.ts +6 -7
  64. package/src/packageEntry.ts +6 -7
  65. package/src/packageOrder.ts +6 -7
  66. package/src/packageScript.ts +5 -7
  67. package/src/public/util.ts +1 -0
  68. package/src/requireDependency.ts +6 -6
  69. package/src/standardTsconfig.ts +7 -9
  70. package/src/util/makeRule.ts +29 -0
  71. package/build/js/index.cjs +0 -1491
  72. package/build/js/index.cjs.map +0 -1
  73. package/build/types/util/createNewRuleConversion.d.ts +0 -30
  74. package/build/types/util/createNewRuleConversion.d.ts.map +0 -1
  75. package/src/util/createNewRuleConversion.ts +0 -38
@@ -5,8 +5,8 @@
5
5
 
6
6
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/__tests__/bannedDependencies.spec.ts
7
7
  42:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
8
- 61:36 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
9
- 62:45 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
8
+ 59:36 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
9
+ 60:45 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
10
10
 
11
11
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/__tests__/consistentVersions.spec.ts
12
12
  41:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
@@ -45,43 +45,43 @@
45
45
  43:24 warning '_context' is defined but never used @typescript-eslint/no-unused-vars
46
46
 
47
47
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/__tests__/packageScript.spec.ts
48
- 104:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
49
- 125:16 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
50
- 129:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
51
- 145:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
52
- 184:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
53
- 207:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
54
- 227:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
48
+ 108:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
49
+ 131:16 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
50
+ 135:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
51
+ 153:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
52
+ 196:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
53
+ 221:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
54
+ 243:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
55
55
 
56
56
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/__tests__/utils.ts
57
57
  73:79 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
58
58
 
59
59
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/consistentDependencies.ts
60
- 70:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
60
+ 69:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
61
61
 
62
62
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/consistentVersions.ts
63
- 62:11 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
64
- 80:11 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
63
+ 63:11 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
64
+ 81:11 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
65
65
 
66
66
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/mustSatisfyPeerDependencies.ts
67
- 335:79 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
68
- 535:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
69
- 541:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
70
- 554:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
71
- 560:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
72
- 575:23 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
73
- 576:59 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
74
- 653:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
67
+ 331:79 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
68
+ 531:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
69
+ 537:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
70
+ 550:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
71
+ 556:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
72
+ 571:23 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
73
+ 572:59 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
74
+ 649:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
75
+ 650:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
75
76
  654:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
76
- 658:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
77
- 660:23 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
78
- 671:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
79
- 672:57 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
80
- 679:34 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
81
- 744:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
77
+ 656:23 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
78
+ 667:21 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
79
+ 668:57 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
80
+ 675:34 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
81
+ 740:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
82
82
 
83
83
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/packageOrder.ts
84
- 72:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
84
+ 73:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
85
85
 
86
86
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/packageScript.ts
87
87
  76:24 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
@@ -89,19 +89,22 @@
89
89
  78:40 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
90
90
 
91
91
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/requireDependency.ts
92
- 51:51 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
93
- 56:26 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
92
+ 53:51 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
93
+ 58:26 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
94
94
 
95
95
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/standardTsconfig.ts
96
96
  42:18 warning An interface declaring no members is equivalent to its supertype @typescript-eslint/no-empty-interface
97
- 98:13 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
97
+ 97:13 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
98
98
 
99
99
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/util/checkAlpha.ts
100
100
  30:56 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
101
101
 
102
+ /home/runner/work/monorepolint/monorepolint/packages/rules/src/util/makeRule.ts
103
+ 29:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
104
+
102
105
  /home/runner/work/monorepolint/monorepolint/packages/rules/src/util/packageDependencyGraphService.ts
103
106
  45:16 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
104
107
 
105
- 67 problems (0 errors, 67 warnings)
108
+ 68 problems (0 errors, 68 warnings)
106
109
  0 errors and 1 warning potentially fixable with the `--fix` option.
107
110