@codeperfect/eslint-plugin 3.7.0 → 3.9.0

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 (203) hide show
  1. package/README.md +11 -19
  2. package/dist/adapters/angular/angular-lifecycle-usage-adapter.d.ts +15 -0
  3. package/dist/adapters/angular/angular-lifecycle-usage-adapter.d.ts.map +1 -0
  4. package/dist/adapters/angular/angular-lifecycle-usage-adapter.js +87 -0
  5. package/dist/adapters/angular/angular-template-expression-utilities.js +2 -2
  6. package/dist/adapters/angular/angular-template-usage-context.d.ts +1 -1
  7. package/dist/adapters/angular/angular-template-usage-context.d.ts.map +1 -1
  8. package/dist/adapters/angular/angular-template-usage-context.js +2 -2
  9. package/dist/adapters/angular/no-unused-public-members-template-adapter.js +2 -2
  10. package/dist/adapters/angular/plugin.d.ts.map +1 -1
  11. package/dist/adapters/angular/plugin.js +7 -3
  12. package/dist/codeperfect-eslint-plugin-1.0.0.tgz +0 -0
  13. package/dist/domain/architecture/consistent-barrel-files/exports-only-rule-utilities.d.ts +39 -0
  14. package/dist/domain/architecture/consistent-barrel-files/exports-only-rule-utilities.d.ts.map +1 -0
  15. package/dist/domain/architecture/consistent-barrel-files/exports-only-rule-utilities.js +131 -0
  16. package/dist/domain/architecture/consistent-barrel-files/exports-only-rule.d.ts.map +1 -1
  17. package/dist/domain/architecture/consistent-barrel-files/exports-only-rule.js +12 -1
  18. package/dist/domain/architecture/index.d.ts +2 -0
  19. package/dist/domain/architecture/index.d.ts.map +1 -1
  20. package/dist/domain/architecture/index.js +3 -1
  21. package/dist/domain/architecture/no-directory-only-imports/index.d.ts +2 -0
  22. package/dist/domain/architecture/no-directory-only-imports/index.d.ts.map +1 -0
  23. package/dist/domain/architecture/no-directory-only-imports/index.js +2 -0
  24. package/dist/domain/architecture/no-directory-only-imports/no-directory-only-imports-rule.d.ts +5 -0
  25. package/dist/domain/architecture/no-directory-only-imports/no-directory-only-imports-rule.d.ts.map +1 -0
  26. package/dist/domain/architecture/no-directory-only-imports/no-directory-only-imports-rule.js +83 -0
  27. package/dist/domain/architecture/no-unused-exports/no-unused-exports-identifier-utilities.d.ts +1 -1
  28. package/dist/domain/architecture/no-unused-exports/no-unused-exports-identifier-utilities.d.ts.map +1 -1
  29. package/dist/domain/architecture/no-unused-exports/no-unused-exports-identifier-utilities.js +2 -2
  30. package/dist/domain/architecture/no-unused-exports/no-unused-exports-symbol-utilities.d.ts +1 -1
  31. package/dist/domain/architecture/no-unused-exports/no-unused-exports-symbol-utilities.d.ts.map +1 -1
  32. package/dist/domain/architecture/no-unused-exports/no-unused-exports-symbol-utilities.js +2 -2
  33. package/dist/domain/architecture/no-unused-exports/no-unused-exports-usage-index-builder.d.ts +1 -1
  34. package/dist/domain/architecture/no-unused-exports/no-unused-exports-usage-index-builder.d.ts.map +1 -1
  35. package/dist/domain/architecture/no-unused-exports/no-unused-exports-usage-index-builder.js +2 -2
  36. package/dist/domain/architecture/no-unused-exports/no-unused-exports-usage-index.d.ts +1 -1
  37. package/dist/domain/architecture/no-unused-exports/no-unused-exports-usage-index.d.ts.map +1 -1
  38. package/dist/domain/architecture/no-unused-exports/no-unused-exports-usage-index.js +2 -2
  39. package/dist/domain/architecture/no-unused-exports/rule.d.ts +14 -1
  40. package/dist/domain/architecture/no-unused-exports/rule.d.ts.map +1 -1
  41. package/dist/domain/architecture/no-unused-exports/rule.js +17 -4
  42. package/dist/domain/architecture/no-unused-public-members/member-api-reachability-utilities.d.ts +1 -1
  43. package/dist/domain/architecture/no-unused-public-members/member-api-reachability-utilities.d.ts.map +1 -1
  44. package/dist/domain/architecture/no-unused-public-members/member-api-reachability-utilities.js +2 -2
  45. package/dist/domain/architecture/no-unused-public-members/member-api-relevance-utilities.d.ts +1 -1
  46. package/dist/domain/architecture/no-unused-public-members/member-api-relevance-utilities.d.ts.map +1 -1
  47. package/dist/domain/architecture/no-unused-public-members/member-api-relevance-utilities.js +2 -2
  48. package/dist/domain/architecture/no-unused-public-members/member-api-type-utilities.d.ts +1 -1
  49. package/dist/domain/architecture/no-unused-public-members/member-api-type-utilities.d.ts.map +1 -1
  50. package/dist/domain/architecture/no-unused-public-members/member-api-type-utilities.js +2 -2
  51. package/dist/domain/architecture/no-unused-public-members/member-contract-utilities.d.ts +1 -1
  52. package/dist/domain/architecture/no-unused-public-members/member-contract-utilities.d.ts.map +1 -1
  53. package/dist/domain/architecture/no-unused-public-members/member-contract-utilities.js +13 -2
  54. package/dist/domain/architecture/no-unused-public-members/member-declaration-utilities.d.ts +1 -1
  55. package/dist/domain/architecture/no-unused-public-members/member-declaration-utilities.d.ts.map +1 -1
  56. package/dist/domain/architecture/no-unused-public-members/member-declaration-utilities.js +9 -4
  57. package/dist/domain/architecture/no-unused-public-members/member-factory-utilities.d.ts +1 -1
  58. package/dist/domain/architecture/no-unused-public-members/member-factory-utilities.d.ts.map +1 -1
  59. package/dist/domain/architecture/no-unused-public-members/member-factory-utilities.js +2 -2
  60. package/dist/domain/architecture/no-unused-public-members/member-function-utilities.d.ts +1 -1
  61. package/dist/domain/architecture/no-unused-public-members/member-function-utilities.d.ts.map +1 -1
  62. package/dist/domain/architecture/no-unused-public-members/member-function-utilities.js +2 -2
  63. package/dist/domain/architecture/no-unused-public-members/member-host-utilities.d.ts +3 -3
  64. package/dist/domain/architecture/no-unused-public-members/member-host-utilities.d.ts.map +1 -1
  65. package/dist/domain/architecture/no-unused-public-members/member-host-utilities.js +40 -25
  66. package/dist/domain/architecture/no-unused-public-members/member-operation-utilities.d.ts +1 -1
  67. package/dist/domain/architecture/no-unused-public-members/member-operation-utilities.d.ts.map +1 -1
  68. package/dist/domain/architecture/no-unused-public-members/member-operation-utilities.js +2 -2
  69. package/dist/domain/architecture/no-unused-public-members/member-parameter-flow-utilities.d.ts +1 -1
  70. package/dist/domain/architecture/no-unused-public-members/member-parameter-flow-utilities.d.ts.map +1 -1
  71. package/dist/domain/architecture/no-unused-public-members/member-parameter-flow-utilities.js +2 -2
  72. package/dist/domain/architecture/no-unused-public-members/member-public-api-utilities.d.ts +1 -1
  73. package/dist/domain/architecture/no-unused-public-members/member-public-api-utilities.d.ts.map +1 -1
  74. package/dist/domain/architecture/no-unused-public-members/member-public-api-utilities.js +2 -2
  75. package/dist/domain/architecture/no-unused-public-members/member-request-body-utilities.d.ts +1 -1
  76. package/dist/domain/architecture/no-unused-public-members/member-request-body-utilities.d.ts.map +1 -1
  77. package/dist/domain/architecture/no-unused-public-members/member-request-body-utilities.js +2 -2
  78. package/dist/domain/architecture/no-unused-public-members/member-scope-utilities.d.ts +1 -1
  79. package/dist/domain/architecture/no-unused-public-members/member-scope-utilities.d.ts.map +1 -1
  80. package/dist/domain/architecture/no-unused-public-members/member-scope-utilities.js +39 -15
  81. package/dist/domain/architecture/no-unused-public-members/member-usage-call-utilities.d.ts +1 -1
  82. package/dist/domain/architecture/no-unused-public-members/member-usage-call-utilities.d.ts.map +1 -1
  83. package/dist/domain/architecture/no-unused-public-members/member-usage-call-utilities.js +2 -2
  84. package/dist/domain/architecture/no-unused-public-members/member-usage-expression-reference-utilities.d.ts +1 -1
  85. package/dist/domain/architecture/no-unused-public-members/member-usage-expression-reference-utilities.d.ts.map +1 -1
  86. package/dist/domain/architecture/no-unused-public-members/member-usage-expression-reference-utilities.js +2 -2
  87. package/dist/domain/architecture/no-unused-public-members/member-usage-handoff-utilities.d.ts +1 -1
  88. package/dist/domain/architecture/no-unused-public-members/member-usage-handoff-utilities.d.ts.map +1 -1
  89. package/dist/domain/architecture/no-unused-public-members/member-usage-handoff-utilities.js +2 -2
  90. package/dist/domain/architecture/no-unused-public-members/member-usage-index-utilities.d.ts +1 -1
  91. package/dist/domain/architecture/no-unused-public-members/member-usage-index-utilities.d.ts.map +1 -1
  92. package/dist/domain/architecture/no-unused-public-members/member-usage-index-utilities.js +2 -2
  93. package/dist/domain/architecture/no-unused-public-members/member-usage-local-flow-utilities.d.ts +1 -1
  94. package/dist/domain/architecture/no-unused-public-members/member-usage-local-flow-utilities.d.ts.map +1 -1
  95. package/dist/domain/architecture/no-unused-public-members/member-usage-local-flow-utilities.js +2 -2
  96. package/dist/domain/architecture/no-unused-public-members/member-usage-reference-utilities.d.ts +1 -1
  97. package/dist/domain/architecture/no-unused-public-members/member-usage-reference-utilities.d.ts.map +1 -1
  98. package/dist/domain/architecture/no-unused-public-members/member-usage-reference-utilities.js +2 -2
  99. package/dist/domain/architecture/no-unused-public-members/member-usage-serialization-utilities.d.ts +1 -1
  100. package/dist/domain/architecture/no-unused-public-members/member-usage-serialization-utilities.d.ts.map +1 -1
  101. package/dist/domain/architecture/no-unused-public-members/member-usage-serialization-utilities.js +2 -2
  102. package/dist/domain/architecture/no-unused-public-members/member-usage-type-utilities.d.ts +1 -1
  103. package/dist/domain/architecture/no-unused-public-members/member-usage-type-utilities.d.ts.map +1 -1
  104. package/dist/domain/architecture/no-unused-public-members/member-usage-type-utilities.js +2 -2
  105. package/dist/domain/architecture/no-unused-public-members/member-usage-utilities.d.ts +1 -1
  106. package/dist/domain/architecture/no-unused-public-members/member-usage-utilities.d.ts.map +1 -1
  107. package/dist/domain/architecture/no-unused-public-members/member-usage-utilities.js +13 -2
  108. package/dist/domain/architecture/no-unused-public-members/member-usage-value-utilities.d.ts +1 -1
  109. package/dist/domain/architecture/no-unused-public-members/member-usage-value-utilities.d.ts.map +1 -1
  110. package/dist/domain/architecture/no-unused-public-members/member-usage-value-utilities.js +2 -2
  111. package/dist/domain/architecture/no-unused-public-members/member-usage-whole-object-utilities.d.ts +1 -1
  112. package/dist/domain/architecture/no-unused-public-members/member-usage-whole-object-utilities.d.ts.map +1 -1
  113. package/dist/domain/architecture/no-unused-public-members/member-usage-whole-object-utilities.js +2 -2
  114. package/dist/domain/architecture/no-unused-public-members/member-utilities.d.ts +1 -1
  115. package/dist/domain/architecture/no-unused-public-members/member-utilities.d.ts.map +1 -1
  116. package/dist/domain/architecture/no-unused-public-members/member-utilities.js +2 -2
  117. package/dist/domain/architecture/no-unused-public-members/rule.d.ts +14 -1
  118. package/dist/domain/architecture/no-unused-public-members/rule.d.ts.map +1 -1
  119. package/dist/domain/architecture/no-unused-public-members/rule.js +16 -3
  120. package/dist/domain/architecture/package-subpath-imports/index.d.ts +2 -0
  121. package/dist/domain/architecture/package-subpath-imports/index.d.ts.map +1 -0
  122. package/dist/domain/architecture/package-subpath-imports/index.js +2 -0
  123. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-alias-utilities.d.ts +12 -0
  124. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-alias-utilities.d.ts.map +1 -0
  125. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-alias-utilities.js +215 -0
  126. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-matching-utilities.d.ts +24 -0
  127. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-matching-utilities.d.ts.map +1 -0
  128. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-matching-utilities.js +46 -0
  129. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-path-utilities.d.ts +36 -0
  130. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-path-utilities.d.ts.map +1 -0
  131. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-path-utilities.js +103 -0
  132. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-types.d.ts +44 -0
  133. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-types.d.ts.map +1 -0
  134. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-types.js +1 -0
  135. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-utilities.d.ts +13 -0
  136. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-utilities.d.ts.map +1 -0
  137. package/dist/domain/architecture/package-subpath-imports/package-subpath-import-utilities.js +194 -0
  138. package/dist/domain/architecture/package-subpath-imports/prefer-package-subpath-imports-rule.d.ts +5 -0
  139. package/dist/domain/architecture/package-subpath-imports/prefer-package-subpath-imports-rule.d.ts.map +1 -0
  140. package/dist/domain/architecture/package-subpath-imports/prefer-package-subpath-imports-rule.js +106 -0
  141. package/dist/domain/architecture/program-analysis/source-dependency-utilities.d.ts +1 -1
  142. package/dist/domain/architecture/program-analysis/source-dependency-utilities.d.ts.map +1 -1
  143. package/dist/domain/architecture/program-analysis/source-dependency-utilities.js +2 -2
  144. package/dist/domain/architecture/program-analysis/source-file-facts.d.ts +1 -1
  145. package/dist/domain/architecture/program-analysis/source-file-facts.d.ts.map +1 -1
  146. package/dist/domain/architecture/program-analysis/source-file-facts.js +2 -2
  147. package/dist/domain/docs/single-line-jsdoc/rule.js +2 -2
  148. package/dist/domain/index.d.ts +1 -1
  149. package/dist/domain/index.d.ts.map +1 -1
  150. package/dist/domain/index.js +2 -2
  151. package/dist/domain/testing/require-act-result-capture/rule.js +2 -2
  152. package/dist/index.d.ts +1 -3
  153. package/dist/index.d.ts.map +1 -1
  154. package/dist/index.js +2 -3
  155. package/dist/infrastructure/codeperfect-plugin.d.ts +4 -0
  156. package/dist/infrastructure/codeperfect-plugin.d.ts.map +1 -1
  157. package/dist/infrastructure/codeperfect-plugin.js +4 -2
  158. package/dist/infrastructure/index.d.ts +0 -1
  159. package/dist/infrastructure/index.d.ts.map +1 -1
  160. package/dist/infrastructure/index.js +1 -2
  161. package/dist/infrastructure/presets.d.ts.map +1 -1
  162. package/dist/infrastructure/presets.js +5 -1
  163. package/docs/README.md +20 -0
  164. package/docs/api/index.md +19 -0
  165. package/docs/api/type-aliases/CodeperfectPreset.md +13 -0
  166. package/docs/api/variables/aaa.md +13 -0
  167. package/docs/api/variables/all.md +13 -0
  168. package/docs/api/variables/architecture.md +13 -0
  169. package/docs/api/variables/codeperfectPlugin.md +111 -0
  170. package/docs/api/variables/core.md +13 -0
  171. package/docs/api/variables/documentation.md +13 -0
  172. package/docs/api/variables/testing.md +13 -0
  173. package/docs/design/README.md +6 -0
  174. package/docs/design/architecture.md +218 -0
  175. package/docs/design/release.md +30 -0
  176. package/docs/rules/assert-actual-expected-names.md +163 -0
  177. package/docs/rules/barrel-files-exports-only.md +88 -0
  178. package/docs/rules/consistent-barrel-files.md +107 -0
  179. package/docs/rules/enforce-aaa-structure.md +220 -0
  180. package/docs/rules/no-directory-only-imports.md +72 -0
  181. package/docs/rules/no-import-export-aliases.md +54 -0
  182. package/docs/rules/no-import-export-extensions.md +63 -0
  183. package/docs/rules/no-interface-member-docs.md +101 -0
  184. package/docs/rules/no-multiple-declarators.md +105 -0
  185. package/docs/rules/no-reexports-outside-barrels.md +106 -0
  186. package/docs/rules/no-unused-exports.md +283 -0
  187. package/docs/rules/no-unused-public-members.md +389 -0
  188. package/docs/rules/no-useless-delegation.md +56 -0
  189. package/docs/rules/prefer-interface-types.md +138 -0
  190. package/docs/rules/prefer-package-subpath-imports.md +82 -0
  191. package/docs/rules/prefer-vi-mocked-import.md +129 -0
  192. package/docs/rules/require-act-result-capture.md +183 -0
  193. package/docs/rules/require-example-language.md +172 -0
  194. package/docs/rules/require-test-companion.md +125 -0
  195. package/docs/rules/single-act-statement.md +133 -0
  196. package/docs/rules/single-line-jsdoc.md +140 -0
  197. package/package.json +27 -26
  198. package/dist/application/custom-rules.d.ts +0 -70
  199. package/dist/application/custom-rules.d.ts.map +0 -1
  200. package/dist/application/custom-rules.js +0 -37
  201. package/dist/application/index.d.ts +0 -4
  202. package/dist/application/index.d.ts.map +0 -1
  203. package/dist/application/index.js +0 -3
@@ -1,70 +0,0 @@
1
- import type { Rule } from "eslint";
2
- /** Internal registry entry for a package-owned custom rule. */
3
- interface CustomRuleEntry {
4
- /** ESLint rule implementation. */
5
- rule: Rule.RuleModule;
6
- /** ESLint rule name without the plugin prefix. */
7
- ruleName: string;
8
- }
9
- /** Source-of-truth registry for all package-owned custom rules. */
10
- declare const customRules: readonly [{
11
- readonly rule: Rule.RuleModule;
12
- readonly ruleName: "assert-actual-expected-names";
13
- }, {
14
- readonly rule: Rule.RuleModule;
15
- readonly ruleName: "barrel-files-exports-only";
16
- }, {
17
- readonly rule: Rule.RuleModule;
18
- readonly ruleName: "consistent-barrel-files";
19
- }, {
20
- readonly rule: Rule.RuleModule;
21
- readonly ruleName: "enforce-aaa-structure";
22
- }, {
23
- readonly rule: Rule.RuleModule;
24
- readonly ruleName: "no-import-export-aliases";
25
- }, {
26
- readonly rule: Rule.RuleModule;
27
- readonly ruleName: "no-import-export-extensions";
28
- }, {
29
- readonly rule: Rule.RuleModule;
30
- readonly ruleName: "no-unused-exports";
31
- }, {
32
- readonly rule: Rule.RuleModule;
33
- readonly ruleName: "no-unused-public-members";
34
- }, {
35
- readonly rule: Rule.RuleModule;
36
- readonly ruleName: "no-reexports-outside-barrels";
37
- }, {
38
- readonly rule: Rule.RuleModule;
39
- readonly ruleName: "no-multiple-declarators";
40
- }, {
41
- readonly rule: Rule.RuleModule;
42
- readonly ruleName: "no-useless-delegation";
43
- }, {
44
- readonly rule: Rule.RuleModule;
45
- readonly ruleName: "prefer-interface-types";
46
- }, {
47
- readonly rule: Rule.RuleModule;
48
- readonly ruleName: "no-interface-member-docs";
49
- }, {
50
- readonly rule: Rule.RuleModule;
51
- readonly ruleName: "require-example-language";
52
- }, {
53
- readonly rule: Rule.RuleModule;
54
- readonly ruleName: "single-line-jsdoc";
55
- }, {
56
- readonly rule: Rule.RuleModule;
57
- readonly ruleName: "prefer-vi-mocked-import";
58
- }, {
59
- readonly rule: Rule.RuleModule;
60
- readonly ruleName: "require-act-result-capture";
61
- }, {
62
- readonly rule: Rule.RuleModule;
63
- readonly ruleName: "require-test-companion";
64
- }, {
65
- readonly rule: Rule.RuleModule;
66
- readonly ruleName: "single-act-statement";
67
- }];
68
- export { customRules };
69
- export type { CustomRuleEntry };
70
- //# sourceMappingURL=custom-rules.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-rules.d.ts","sourceRoot":"","sources":["../../src/application/custom-rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAwBnC,+DAA+D;AAC/D,UAAU,eAAe;IACvB,kCAAkC;IAClC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC;IAEtB,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,mEAAmE;AACnE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC8B,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -1,37 +0,0 @@
1
- import { assertActualExpectedNamesRule, barrelFilesExportsOnlyRule, consistentBarrelFilesRule, enforceAaaStructureRule, noImportExportAliasesRule, noImportExportExtensionsRule, noInterfaceMemberDocumentationRule, noMultipleDeclaratorsRule, noReexportsOutsideBarrelsRule, noUnusedExportsRule, noUnusedPublicMembersRule, noUselessDelegationRule, preferInterfaceTypesRule, preferViMockedImportRule, requireActResultCaptureRule, requireExampleLanguageRule, requireTestCompanionRule, singleActStatementRule, singleLineJsdocRule, } from "../domain/index.js";
2
- /** Source-of-truth registry for all package-owned custom rules. */
3
- const customRules = [
4
- {
5
- rule: assertActualExpectedNamesRule,
6
- ruleName: "assert-actual-expected-names",
7
- },
8
- { rule: barrelFilesExportsOnlyRule, ruleName: "barrel-files-exports-only" },
9
- { rule: consistentBarrelFilesRule, ruleName: "consistent-barrel-files" },
10
- { rule: enforceAaaStructureRule, ruleName: "enforce-aaa-structure" },
11
- { rule: noImportExportAliasesRule, ruleName: "no-import-export-aliases" },
12
- {
13
- rule: noImportExportExtensionsRule,
14
- ruleName: "no-import-export-extensions",
15
- },
16
- { rule: noUnusedExportsRule, ruleName: "no-unused-exports" },
17
- { rule: noUnusedPublicMembersRule, ruleName: "no-unused-public-members" },
18
- {
19
- rule: noReexportsOutsideBarrelsRule,
20
- ruleName: "no-reexports-outside-barrels",
21
- },
22
- { rule: noMultipleDeclaratorsRule, ruleName: "no-multiple-declarators" },
23
- { rule: noUselessDelegationRule, ruleName: "no-useless-delegation" },
24
- { rule: preferInterfaceTypesRule, ruleName: "prefer-interface-types" },
25
- {
26
- rule: noInterfaceMemberDocumentationRule,
27
- ruleName: "no-interface-member-docs",
28
- },
29
- { rule: requireExampleLanguageRule, ruleName: "require-example-language" },
30
- { rule: singleLineJsdocRule, ruleName: "single-line-jsdoc" },
31
- { rule: preferViMockedImportRule, ruleName: "prefer-vi-mocked-import" },
32
- { rule: requireActResultCaptureRule, ruleName: "require-act-result-capture" },
33
- { rule: requireTestCompanionRule, ruleName: "require-test-companion" },
34
- { rule: singleActStatementRule, ruleName: "single-act-statement" },
35
- ];
36
- export { customRules };
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXJ1bGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2FwcGxpY2F0aW9uL2N1c3RvbS1ydWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQ0wsNkJBQTZCLEVBQzdCLDBCQUEwQixFQUMxQix5QkFBeUIsRUFDekIsdUJBQXVCLEVBQ3ZCLHlCQUF5QixFQUN6Qiw0QkFBNEIsRUFDNUIsa0NBQWtDLEVBQ2xDLHlCQUF5QixFQUN6Qiw2QkFBNkIsRUFDN0IsbUJBQW1CLEVBQ25CLHlCQUF5QixFQUN6Qix1QkFBdUIsRUFDdkIsd0JBQXdCLEVBQ3hCLHdCQUF3QixFQUN4QiwyQkFBMkIsRUFDM0IsMEJBQTBCLEVBQzFCLHdCQUF3QixFQUN4QixzQkFBc0IsRUFDdEIsbUJBQW1CLEdBQ3BCLE1BQU0sV0FBVyxDQUFDO0FBV25CLG1FQUFtRTtBQUNuRSxNQUFNLFdBQVcsR0FBRztJQUNsQjtRQUNFLElBQUksRUFBRSw2QkFBNkI7UUFDbkMsUUFBUSxFQUFFLDhCQUE4QjtLQUN6QztJQUNELEVBQUUsSUFBSSxFQUFFLDBCQUEwQixFQUFFLFFBQVEsRUFBRS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HsgcnVsZTogc2luZ2xlTGluZUpzZG9jUnVsZSwgcnVsZU5hbWU6IFwic2luZ2xlLWxpbmUtanNkb2NcIiB9LFxuICB7IHJ1bGU6IHByZWZlclZpTW9ja2VkSW1wb3J0UnVsZSwgcnVsZU5hbWU6IFwicHJlZmVyLXZpLW1vY2tlZC1pbXBvcnRcIiB9LFxuICB7IHJ1bGU6IHJlcXVpcmVBY3RSZXN1bHRDYXB0dXJlUnVsZSwgcnVsZU5hbWU6IFwicmVxdWlyZS1hY3QtcmVzdWx0LWNhcHR1cmVcIiB9LFxuICB7IHJ1bGU6IHJlcXVpcmVUZXN0Q29tcGFuaW9uUnVsZSwgcnVsZU5hbWU6IFwicmVxdWlyZS10ZXN0LWNvbXBhbmlvblwiIH0sXG4gIHsgcnVsZTogc2luZ2xlQWN0U3RhdGVtZW50UnVsZSwgcnVsZU5hbWU6IFwic2luZ2xlLWFjdC1zdGF0ZW1lbnRcIiB9LFxuXSBhcyBjb25zdCBzYXRpc2ZpZXMgcmVhZG9ubHkgQ3VzdG9tUnVsZUVudHJ5W107XG5cbmV4cG9ydCB7IGN1c3RvbVJ1bGVzIH07XG5leHBvcnQgdHlwZSB7IEN1c3RvbVJ1bGVFbnRyeSB9O1xuIl19
@@ -1,4 +0,0 @@
1
- export { assertActualExpectedNamesRule, barrelFilesExportsOnlyRule, consistentBarrelFilesRule, enforceAaaStructureRule, noImportExportAliasesRule, noImportExportExtensionsRule, noInterfaceMemberDocumentationRule, noMultipleDeclaratorsRule, noReexportsOutsideBarrelsRule, noUnusedExportsRule, noUnusedPublicMembersRule, noUselessDelegationRule, preferInterfaceTypesRule, preferViMockedImportRule, requireActResultCaptureRule, requireExampleLanguageRule, requireTestCompanionRule, singleActStatementRule, singleLineJsdocRule, } from "../domain/index.js";
2
- export { customRules } from "./custom-rules.js";
3
- export type { CustomRuleEntry } from "./custom-rules.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/application/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,kCAAkC,EAClC,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,3 +0,0 @@
1
- export { assertActualExpectedNamesRule, barrelFilesExportsOnlyRule, consistentBarrelFilesRule, enforceAaaStructureRule, noImportExportAliasesRule, noImportExportExtensionsRule, noInterfaceMemberDocumentationRule, noMultipleDeclaratorsRule, noReexportsOutsideBarrelsRule, noUnusedExportsRule, noUnusedPublicMembersRule, noUselessDelegationRule, preferInterfaceTypesRule, preferViMockedImportRule, requireActResultCaptureRule, requireExampleLanguageRule, requireTestCompanionRule, singleActStatementRule, singleLineJsdocRule, } from "../domain/index.js";
2
- export { customRules } from "./custom-rules.js";
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYXBwbGljYXRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLDZCQUE2QixFQUM3QiwwQkFBMEIsRUFDMUIseUJBQXlCLEVBQ3pCLHVCQUF1QixFQUN2Qix5QkFBeUIsRUFDekIsNEJBQTRCLEVBQzVCLGtDQUFrQyxFQUNsQyx5QkFBeUIsRUFDekIsNkJBQTZCLEVBQzdCLG1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