lint-suite 1.6.3 → 2.0.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 (183) hide show
  1. package/README.md +117 -20
  2. package/eslint.cjs +3312 -492
  3. package/eslint.cjs.map +4 -4
  4. package/eslint.js +3304 -445
  5. package/eslint.js.map +4 -4
  6. package/lib/angular-template.d.ts +0 -1
  7. package/lib/angular-template.d.ts.map +1 -1
  8. package/lib/angular.d.ts +0 -1
  9. package/lib/angular.d.ts.map +1 -1
  10. package/lib/base-limits.d.ts.map +1 -1
  11. package/lib/rules/arrow-body-fits-line/arrow-body-fits-line.d.ts +6 -0
  12. package/lib/rules/arrow-body-fits-line/arrow-body-fits-line.d.ts.map +1 -0
  13. package/lib/rules/chain-fits-line/chain-fits-line.d.ts +6 -0
  14. package/lib/rules/chain-fits-line/chain-fits-line.d.ts.map +1 -0
  15. package/lib/rules/chain-receiver-is-name/chain-receiver-is-name.d.ts +7 -0
  16. package/lib/rules/chain-receiver-is-name/chain-receiver-is-name.d.ts.map +1 -0
  17. package/lib/rules/common/class-usage.type.d.ts +1 -0
  18. package/lib/rules/common/class-usage.type.d.ts.map +1 -1
  19. package/lib/rules/common/file-cache.type.d.ts +11 -0
  20. package/lib/rules/common/file-cache.type.d.ts.map +1 -0
  21. package/lib/rules/common/glob-matcher.type.d.ts +2 -0
  22. package/lib/rules/common/glob-matcher.type.d.ts.map +1 -0
  23. package/lib/rules/component-metadata.d.ts +2 -4
  24. package/lib/rules/component-metadata.d.ts.map +1 -1
  25. package/lib/rules/explicit-accessibility/common/explicit-accessibility.const.d.ts +1 -1
  26. package/lib/rules/explicit-accessibility/common/explicit-accessibility.const.d.ts.map +1 -1
  27. package/lib/rules/explicit-accessibility/common/explicit-accessibility.type.d.ts +4 -1
  28. package/lib/rules/explicit-accessibility/common/explicit-accessibility.type.d.ts.map +1 -1
  29. package/lib/rules/file-cache.d.ts +14 -0
  30. package/lib/rules/file-cache.d.ts.map +1 -0
  31. package/lib/rules/max-condition-operands/max-condition-operands.d.ts +10 -0
  32. package/lib/rules/max-condition-operands/max-condition-operands.d.ts.map +1 -0
  33. package/lib/rules/no-call-in-condition/common/no-call-in-condition.const.d.ts +6 -0
  34. package/lib/rules/no-call-in-condition/common/no-call-in-condition.const.d.ts.map +1 -0
  35. package/lib/rules/no-call-in-condition/common/no-call-in-condition.type.d.ts +21 -0
  36. package/lib/rules/no-call-in-condition/common/no-call-in-condition.type.d.ts.map +1 -0
  37. package/lib/rules/no-call-in-condition/no-call-in-condition.d.ts +7 -0
  38. package/lib/rules/no-call-in-condition/no-call-in-condition.d.ts.map +1 -0
  39. package/lib/rules/no-call-in-condition/utils/call-exemptions.util.d.ts +4 -0
  40. package/lib/rules/no-call-in-condition/utils/call-exemptions.util.d.ts.map +1 -0
  41. package/lib/rules/no-call-in-condition/utils/condition-calls.util.d.ts +7 -0
  42. package/lib/rules/no-call-in-condition/utils/condition-calls.util.d.ts.map +1 -0
  43. package/lib/rules/no-grouped-condition/no-grouped-condition.d.ts +7 -0
  44. package/lib/rules/no-grouped-condition/no-grouped-condition.d.ts.map +1 -0
  45. package/lib/rules/no-inline-object-types/no-inline-object-types.d.ts.map +1 -1
  46. package/lib/rules/no-inline-return-object/no-inline-return-object.d.ts +6 -0
  47. package/lib/rules/no-inline-return-object/no-inline-return-object.d.ts.map +1 -0
  48. package/lib/rules/no-nested-object-value/common/no-nested-object-value.const.d.ts +5 -0
  49. package/lib/rules/no-nested-object-value/common/no-nested-object-value.const.d.ts.map +1 -0
  50. package/lib/rules/no-nested-object-value/common/no-nested-object-value.type.d.ts +7 -0
  51. package/lib/rules/no-nested-object-value/common/no-nested-object-value.type.d.ts.map +1 -0
  52. package/lib/rules/no-nested-object-value/no-nested-object-value.d.ts +7 -0
  53. package/lib/rules/no-nested-object-value/no-nested-object-value.d.ts.map +1 -0
  54. package/lib/rules/no-nested-object-value/utils/decorator-config.util.d.ts +3 -0
  55. package/lib/rules/no-nested-object-value/utils/decorator-config.util.d.ts.map +1 -0
  56. package/lib/rules/no-spread-expression/no-spread-expression.d.ts +6 -0
  57. package/lib/rules/no-spread-expression/no-spread-expression.d.ts.map +1 -0
  58. package/lib/rules/no-unstyled-classes/no-unstyled-classes.d.ts.map +1 -1
  59. package/lib/rules/no-unstyled-classes/styles/component-stylesheets.d.ts.map +1 -1
  60. package/lib/rules/no-unstyled-classes/styles/linked-stylesheets.d.ts +3 -0
  61. package/lib/rules/no-unstyled-classes/styles/linked-stylesheets.d.ts.map +1 -0
  62. package/lib/rules/no-unstyled-classes/styles/stylesheet-classes.d.ts.map +1 -1
  63. package/lib/rules/no-unstyled-classes/styles/template-stylesheets.d.ts +1 -1
  64. package/lib/rules/no-unstyled-classes/styles/template-stylesheets.d.ts.map +1 -1
  65. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-directive-index.d.ts +5 -0
  66. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-directive-index.d.ts.map +1 -1
  67. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-resolved-path.d.ts.map +1 -1
  68. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-resolution.d.ts +0 -1
  69. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-resolution.d.ts.map +1 -1
  70. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-reads.d.ts.map +1 -1
  71. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-references.d.ts.map +1 -1
  72. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts +6 -8
  73. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts.map +1 -1
  74. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.d.ts +3 -14
  75. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.d.ts.map +1 -1
  76. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-file-entry.d.ts.map +1 -1
  77. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.d.ts +3 -2
  78. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.d.ts.map +1 -1
  79. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.d.ts +1 -1
  80. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.d.ts.map +1 -1
  81. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.d.ts +8 -4
  82. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.d.ts.map +1 -1
  83. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.d.ts +3 -2
  84. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.d.ts.map +1 -1
  85. package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-destructuring-reads.d.ts.map +1 -1
  86. package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-reads.d.ts.map +1 -1
  87. package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/class-members.util.d.ts +10 -0
  88. package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/class-members.util.d.ts.map +1 -0
  89. package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-class-fields.d.ts.map +1 -1
  90. package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-imports.d.ts.map +1 -1
  91. package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-managed-fields.d.ts.map +1 -1
  92. package/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.d.ts +2 -1
  93. package/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.d.ts.map +1 -1
  94. package/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.d.ts.map +1 -1
  95. package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-class-read-visitor.d.ts.map +1 -1
  96. package/lib/rules/no-unused-classes/no-unused-classes.d.ts.map +1 -1
  97. package/lib/rules/no-unused-classes/styles/linked-templates.d.ts +9 -0
  98. package/lib/rules/no-unused-classes/styles/linked-templates.d.ts.map +1 -0
  99. package/lib/rules/no-unused-classes/styles/stylesheet-components.d.ts.map +1 -1
  100. package/lib/rules/no-unused-classes/template/template-usage.d.ts.map +1 -1
  101. package/lib/rules/no-unused-exports/common/no-unused-exports.const.d.ts +7 -0
  102. package/lib/rules/no-unused-exports/common/no-unused-exports.const.d.ts.map +1 -0
  103. package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts +70 -0
  104. package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts.map +1 -0
  105. package/lib/rules/no-unused-exports/export-index.d.ts +6 -0
  106. package/lib/rules/no-unused-exports/export-index.d.ts.map +1 -0
  107. package/lib/rules/no-unused-exports/no-unused-exports.d.ts +7 -0
  108. package/lib/rules/no-unused-exports/no-unused-exports.d.ts.map +1 -0
  109. package/lib/rules/no-unused-exports/report-unused-exports.d.ts +12 -0
  110. package/lib/rules/no-unused-exports/report-unused-exports.d.ts.map +1 -0
  111. package/lib/rules/no-unused-exports/utils/aggregate-update.util.d.ts +4 -0
  112. package/lib/rules/no-unused-exports/utils/aggregate-update.util.d.ts.map +1 -0
  113. package/lib/rules/no-unused-exports/utils/export-edges.util.d.ts +5 -0
  114. package/lib/rules/no-unused-exports/utils/export-edges.util.d.ts.map +1 -0
  115. package/lib/rules/no-unused-exports/utils/export-nodes.util.d.ts +5 -0
  116. package/lib/rules/no-unused-exports/utils/export-nodes.util.d.ts.map +1 -0
  117. package/lib/rules/no-unused-exports/utils/export-usage.util.d.ts +4 -0
  118. package/lib/rules/no-unused-exports/utils/export-usage.util.d.ts.map +1 -0
  119. package/lib/rules/no-unused-exports/utils/exported-names.util.d.ts +3 -0
  120. package/lib/rules/no-unused-exports/utils/exported-names.util.d.ts.map +1 -0
  121. package/lib/rules/no-unused-exports/utils/file-changes.util.d.ts +4 -0
  122. package/lib/rules/no-unused-exports/utils/file-changes.util.d.ts.map +1 -0
  123. package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts +4 -0
  124. package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts.map +1 -0
  125. package/lib/rules/no-unused-exports/utils/module-target.util.d.ts +4 -0
  126. package/lib/rules/no-unused-exports/utils/module-target.util.d.ts.map +1 -0
  127. package/lib/rules/no-unused-exports/utils/public-exports.util.d.ts +3 -0
  128. package/lib/rules/no-unused-exports/utils/public-exports.util.d.ts.map +1 -0
  129. package/lib/rules/one-line-guard/one-line-guard.d.ts.map +1 -1
  130. package/lib/rules/readonly-type-properties/readonly-type-properties.d.ts +2 -1
  131. package/lib/rules/readonly-type-properties/readonly-type-properties.d.ts.map +1 -1
  132. package/lib/rules/{utils/selector-classes.util.d.ts → selector-classes.d.ts} +2 -2
  133. package/lib/rules/selector-classes.d.ts.map +1 -0
  134. package/lib/rules/ternary-branch-shape/ternary-branch-shape.d.ts +6 -0
  135. package/lib/rules/ternary-branch-shape/ternary-branch-shape.d.ts.map +1 -0
  136. package/lib/rules/test-file-shape/common/test-file-shape.const.d.ts +14 -0
  137. package/lib/rules/test-file-shape/common/test-file-shape.const.d.ts.map +1 -0
  138. package/lib/rules/test-file-shape/common/test-file-shape.type.d.ts +7 -0
  139. package/lib/rules/test-file-shape/common/test-file-shape.type.d.ts.map +1 -0
  140. package/lib/rules/test-file-shape/mock-exports.d.ts +7 -0
  141. package/lib/rules/test-file-shape/mock-exports.d.ts.map +1 -0
  142. package/lib/rules/test-file-shape/stub-exports.d.ts +7 -0
  143. package/lib/rules/test-file-shape/stub-exports.d.ts.map +1 -0
  144. package/lib/rules/test-file-shape/test-file-shape.d.ts +7 -0
  145. package/lib/rules/test-file-shape/test-file-shape.d.ts.map +1 -0
  146. package/lib/rules/type-placement/common/type-placement.const.d.ts +5 -0
  147. package/lib/rules/type-placement/common/type-placement.const.d.ts.map +1 -0
  148. package/lib/rules/type-placement/common/type-placement.type.d.ts +7 -0
  149. package/lib/rules/type-placement/common/type-placement.type.d.ts.map +1 -0
  150. package/lib/rules/type-placement/type-placement.d.ts +7 -0
  151. package/lib/rules/type-placement/type-placement.d.ts.map +1 -0
  152. package/lib/rules/util-purity/common/util-purity.const.d.ts +10 -0
  153. package/lib/rules/util-purity/common/util-purity.const.d.ts.map +1 -0
  154. package/lib/rules/util-purity/common/util-purity.type.d.ts +7 -0
  155. package/lib/rules/util-purity/common/util-purity.type.d.ts.map +1 -0
  156. package/lib/rules/util-purity/util-purity.d.ts +7 -0
  157. package/lib/rules/util-purity/util-purity.d.ts.map +1 -0
  158. package/lib/rules/utils/class-expression-literals.util.d.ts.map +1 -1
  159. package/lib/rules/utils/enclosing-statement.util.d.ts +3 -0
  160. package/lib/rules/utils/enclosing-statement.util.d.ts.map +1 -0
  161. package/lib/rules/utils/glob-matcher.util.d.ts +3 -0
  162. package/lib/rules/utils/glob-matcher.util.d.ts.map +1 -0
  163. package/lib/rules/utils/indent-of.util.d.ts +3 -0
  164. package/lib/rules/utils/indent-of.util.d.ts.map +1 -0
  165. package/lib/rules/utils/template-classes.util.d.ts.map +1 -1
  166. package/lib/rules/utils/template-links.util.d.ts +2 -0
  167. package/lib/rules/utils/template-links.util.d.ts.map +1 -0
  168. package/lib/rules/utils/to-regexp.util.d.ts +2 -0
  169. package/lib/rules/utils/to-regexp.util.d.ts.map +1 -0
  170. package/lib/typescript-local-plugin.d.ts.map +1 -1
  171. package/lib/typescript-safety.d.ts.map +1 -1
  172. package/lib/typescript.d.ts +0 -1
  173. package/lib/typescript.d.ts.map +1 -1
  174. package/lib/vitest.d.ts.map +1 -1
  175. package/package.json +1 -1
  176. package/stylelint.cjs +303 -99
  177. package/stylelint.cjs.map +4 -4
  178. package/stylelint.d.ts.map +1 -1
  179. package/stylelint.js +321 -111
  180. package/stylelint.js.map +4 -4
  181. package/lib/rules/no-unused-classes/styles/component-descriptors.d.ts +0 -3
  182. package/lib/rules/no-unused-classes/styles/component-descriptors.d.ts.map +0 -1
  183. package/lib/rules/utils/selector-classes.util.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"project-usage.type.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,IAAI,EACJ,uBAAuB,EACvB,UAAU,EACV,IAAI,EACJ,WAAW,EACZ,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,cAAc,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;AAEhE;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7E,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAC3B,sBAAsB,GAAG,uBAAuB,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG,cAAc,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC7C,QAAQ,CAAC,IAAI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QAAQ,CAAC,KAAK,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,YAAY,EAAE,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;CACzB,CAAC"}
1
+ {"version":3,"file":"project-usage.type.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,IAAI,EACJ,uBAAuB,EACvB,UAAU,EACV,IAAI,EACJ,WAAW,EACZ,MAAM,YAAY,CAAC;AAEpB,KAAK,cAAc,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;AAEzD;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC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AC,OAAO,EAAE,YAAY,EAAE,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;CACzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"project-file-entry.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-file-entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,UAAU,EAAQ,WAAW,EAAE,MAAM,YAAY,CAAC;AAGtE,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EAEb,MAAM,gCAAgC,CAAC;AA8CxC,eAAO,MAAM,YAAY,GACvB,OAAO,YAAY,EACnB,YAAY,UAAU,EACtB,SAAS,WAAW,KACnB,SAgCF,CAAC"}
1
+ {"version":3,"file":"project-file-entry.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-file-entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,UAAU,EAAQ,WAAW,EAAE,MAAM,YAAY,CAAC;AAGtE,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EAEb,MAAM,gCAAgC,CAAC;AA8CxC,eAAO,MAAM,YAAY,GACvB,OAAO,YAAY,EACnB,YAAY,UAAU,EACtB,SAAS,WAAW,KACnB,SAqCF,CAAC"}
@@ -1,4 +1,5 @@
1
- import type { LazyChecker, ProjectIndex, SourceFileMaps } from './common/project-index.type.ts';
1
+ import type { SourceFile } from 'typescript';
2
+ import type { CurrentSourceFiles, LazyChecker, ProjectIndex } from './common/project-index.type.ts';
2
3
  /** Re-index changed files' classes; returns member names never seen before. */
3
- export declare const reconcileClasses: (index: ProjectIndex, maps: SourceFileMaps, checker: LazyChecker) => Set<string>;
4
+ export declare const reconcileClasses: (index: ProjectIndex, indexable: SourceFile[], current: CurrentSourceFiles, checker: LazyChecker) => Set<string>;
4
5
  //# sourceMappingURL=project-index-classes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project-index-classes.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,WAAW,EACX,YAAY,EACZ,cAAc,EACf,MAAM,gCAAgC,CAAC;AAgGxC,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,GAC3B,OAAO,YAAY,EACnB,MAAM,cAAc,EACpB,SAAS,WAAW,KACnB,GAAG,CAAC,MAAM,CAWZ,CAAC"}
1
+ {"version":3,"file":"project-index-classes.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQ7C,OAAO,KAAK,EACV,kBAAkB,EAElB,WAAW,EACX,YAAY,EACb,MAAM,gCAAgC,CAAC;AAmHxC,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,GAC3B,OAAO,YAAY,EACnB,WAAW,UAAU,EAAE,EACvB,SAAS,kBAAkB,EAC3B,SAAS,WAAW,KACnB,GAAG,CAAC,MAAM,CAmBZ,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { Program } from 'typescript';
2
2
  import type { ProjectIndex } from './common/project-index.type.ts';
3
- export declare const reconcile: (index: ProjectIndex, program: Program) => void;
3
+ export declare const reconcile: (index: ProjectIndex, program: Program, fileName: string) => void;
4
4
  //# sourceMappingURL=project-index-reconciliation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project-index-reconciliation.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAA2B,MAAM,YAAY,CAAC;AAEnE,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAqEhF,eAAO,MAAM,SAAS,GAAI,OAAO,YAAY,EAAE,SAAS,OAAO,KAAG,IAWjE,CAAC"}
1
+ {"version":3,"file":"project-index-reconciliation.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAA2B,MAAM,YAAY,CAAC;AAEnE,OAAO,KAAK,EAGV,YAAY,EAEb,MAAM,gCAAgC,CAAC;AAkHxC,eAAO,MAAM,SAAS,GACpB,OAAO,YAAY,EACnB,SAAS,OAAO,EAChB,UAAU,MAAM,KACf,IAWF,CAAC"}
@@ -1,10 +1,14 @@
1
1
  import type { Program, SourceFile } from 'typescript';
2
- import type { FileEntry, ProjectIndex, SourceFileMaps } from './common/project-index.type.ts';
2
+ import type { CurrentSourceFiles, FileEntry, ProjectIndex } from './common/project-index.type.ts';
3
3
  export declare const indexableSourceFiles: (program: Program) => SourceFile[];
4
- export declare const sourceFileMaps: (program: Program) => SourceFileMaps;
4
+ export declare const removeEntry: (index: ProjectIndex, fileName: string) => void;
5
+ export declare const addEntry: (index: ProjectIndex, entry: FileEntry) => void;
5
6
  export declare const dropEntries: (index: ProjectIndex, stale: (entry: FileEntry) => boolean) => void;
6
- export declare const isReplaced: (sourceFile: SourceFile, dependencies: ReadonlySet<SourceFile>, maps: SourceFileMaps) => boolean;
7
- export declare const dropReplacedEntries: (index: ProjectIndex, maps: SourceFileMaps) => void;
7
+ /** The Program's source file objects, for identity checks without path work. */
8
+ export declare const currentSourceFiles: (program: Program) => CurrentSourceFiles;
9
+ export declare const isReplaced: (sourceFile: SourceFile, dependencies: ReadonlySet<SourceFile>, current: CurrentSourceFiles) => boolean;
10
+ export declare const dropReplacedEntries: (index: ProjectIndex, current: CurrentSourceFiles) => void;
8
11
  export declare const dropEntriesMentioning: (index: ProjectIndex, names: ReadonlySet<string>) => void;
12
+ export declare const hasStaleTemplate: (entry: FileEntry) => boolean;
9
13
  export declare const dropStaleTemplateEntries: (index: ProjectIndex, force: boolean) => void;
10
14
  //# sourceMappingURL=project-index-staleness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project-index-staleness.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGtD,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EACZ,cAAc,EAEf,MAAM,gCAAgC,CAAC;AAmBxC,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,KAAG,UAAU,EAIjE,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,cAejD,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,YAAY,EACnB,OAAO,CAAC,KAAK,EAAE,SAAS,KAAK,OAAO,KACnC,IAQF,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,YAAY,UAAU,EACtB,cAAc,WAAW,CAAC,UAAU,CAAC,EACrC,MAAM,cAAc,KACnB,OAYF,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,OAAO,YAAY,EACnB,MAAM,cAAc,KACnB,IAMF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,OAAO,YAAY,EACnB,OAAO,WAAW,CAAC,MAAM,CAAC,KACzB,IAWF,CAAC;AAqBF,eAAO,MAAM,wBAAwB,GACnC,OAAO,YAAY,EACnB,OAAO,OAAO,KACb,IAiBF,CAAC"}
1
+ {"version":3,"file":"project-index-staleness.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGtD,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,YAAY,EAEb,MAAM,gCAAgC,CAAC;AAmBxC,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,KAAG,UAAU,EAIjE,CAAC;AAmBF,eAAO,MAAM,WAAW,GAAI,OAAO,YAAY,EAAE,UAAU,MAAM,KAAG,IAQnE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,YAAY,EAAE,OAAO,SAAS,KAAG,IAKhE,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,YAAY,EACnB,OAAO,CAAC,KAAK,EAAE,SAAS,KAAK,OAAO,KACnC,IAMF,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,KAAG,kBAErD,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,YAAY,UAAU,EACtB,cAAc,WAAW,CAAC,UAAU,CAAC,EACrC,SAAS,kBAAkB,KAC1B,OAYF,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,OAAO,YAAY,EACnB,SAAS,kBAAkB,KAC1B,IAMF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,OAAO,YAAY,EACnB,OAAO,WAAW,CAAC,MAAM,CAAC,KACzB,IAWF,CAAC;AAqBF,eAAO,MAAM,gBAAgB,GAAI,OAAO,SAAS,KAAG,OAEnD,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,OAAO,YAAY,EACnB,OAAO,OAAO,KACb,IAiBF,CAAC"}
@@ -11,7 +11,8 @@ export declare const projectUsageIsCurrent: (program: Program) => boolean;
11
11
  * and Angular templates, or null when the project cannot be indexed
12
12
  * reliably. Indexes are kept per tsconfig and updated incrementally: a new
13
13
  * Program (an edit in the editor) only re-indexes the files that changed
14
- * and the files whose resolutions depended on them.
14
+ * and the files whose resolutions depended on them. `fileName` is the file
15
+ * being linted; its own templates are always checked for freshness.
15
16
  */
16
- export declare const projectUsage: (program: Program) => ProjectUsageIndex | null;
17
+ export declare const projectUsage: (program: Program, fileName: string) => ProjectUsageIndex | null;
17
18
  //# sourceMappingURL=project-usage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project-usage.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAC;AAsExC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,KAAG,OAOxD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,GAAI,SAAS,OAAO,KAAG,iBAAiB,GAAG,IAqBnE,CAAC"}
1
+ {"version":3,"file":"project-usage.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAC;AAwDxC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,KAAG,OAOxD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,GACvB,SAAS,OAAO,EAChB,UAAU,MAAM,KACf,iBAAiB,GAAG,IAqBtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-destructuring-reads.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-destructuring-reads.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAQ,WAAW,EAAE,MAAM,YAAY,CAAC;AAY1D,OAAO,KAAK,EACV,cAAc,EAGd,QAAQ,EACT,MAAM,iCAAiC,CAAC;AA8IzC,eAAO,MAAM,yBAAyB,GACpC,MAAM,IAAI,EACV,SAAS,WAAW,EACpB,MAAM,QAAQ,EACd,gBAAgB,cAAc,KAC7B,IAKF,CAAC"}
1
+ {"version":3,"file":"typescript-destructuring-reads.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-destructuring-reads.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAQ,WAAW,EAAE,MAAM,YAAY,CAAC;AAY1D,OAAO,KAAK,EACV,cAAc,EAGd,QAAQ,EACT,MAAM,iCAAiC,CAAC;AA+IzC,eAAO,MAAM,yBAAyB,GACpC,MAAM,IAAI,EACV,SAAS,WAAW,EACpB,MAAM,QAAQ,EACd,gBAAgB,cAAc,KAC7B,IAKF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-reads.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-reads.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAIV,UAAU,EACV,WAAW,EACZ,MAAM,YAAY,CAAC;AAUpB,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAiDhF,eAAO,MAAM,sBAAsB,GACjC,YAAY,UAAU,EACtB,SAAS,WAAW,EACpB,MAAM,QAAQ,EACd,gBAAgB,cAAc,KAC7B,IAmBF,CAAC"}
1
+ {"version":3,"file":"typescript-reads.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-reads.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAIV,UAAU,EACV,WAAW,EACZ,MAAM,YAAY,CAAC;AAUpB,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAmFhF,eAAO,MAAM,sBAAsB,GACjC,YAAY,UAAU,EACtB,SAAS,WAAW,EACpB,MAAM,QAAQ,EACd,gBAAgB,cAAc,KAC7B,IAmBF,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ClassElement, ClassLikeDeclaration, Node } from 'typescript';
2
+ /** Members the class declares itself under `name`, without the type checker. */
3
+ export declare const ownMembersNamed: (declaration: ClassLikeDeclaration, name: string) => ClassElement[];
4
+ /**
5
+ * The class `this` refers to at `node`, or null when a `function` or an
6
+ * object literal rebinds it first (then only the checker knows).
7
+ */
8
+ export declare const thisClassOf: (node: Node) => ClassLikeDeclaration | null;
9
+ export declare const isThisExpression: (node: Node) => boolean;
10
+ //# sourceMappingURL=class-members.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-members.util.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/project-usage/utils/class-members.util.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAiB3E,gFAAgF;AAChF,eAAO,MAAM,eAAe,GAC1B,aAAa,oBAAoB,EACjC,MAAM,MAAM,KACX,YAAY,EAMd,CAAC;AAuBF;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM,IAAI,KAAG,oBAAoB,GAAG,IAc/D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,IAAI,KAAG,OAE7C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"angular-class-fields.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-class-fields.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EASV,0BAA0B,EAC3B,MAAM,qDAAqD,CAAC;AA+F7D,eAAO,MAAM,mBAAmB,GAC9B,SAAS,0BAA0B,KAClC,IAiBF,CAAC"}
1
+ {"version":3,"file":"angular-class-fields.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-class-fields.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EASV,0BAA0B,EAC3B,MAAM,qDAAqD,CAAC;AAmG7D,eAAO,MAAM,mBAAmB,GAC9B,SAAS,0BAA0B,KAClC,IAiBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"angular-imports.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-imports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACf,MAAM,qDAAqD,CAAC;AAiB7D,eAAO,MAAM,WAAW,GACtB,MAAM,QAAQ,CAAC,UAAU,EACzB,SAAS,cAAc,KACtB,aAAa,GAAG,SAoBlB,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,MAAM,QAAQ,CAAC,UAAU,EACzB,YAAY,QAAQ,CAAC,UAAU,KAC9B,OAgBF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,MAAM,QAAQ,CAAC,iBAAiB,EAChC,SAAS,cAAc,KACtB,IAmBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,MAAM,gBAAgB,EACtB,SAAS,cAAc,KACtB,oBAAoB,GAAG,IAyBzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,KAAK,QAAQ,CAAC,OAAO,KACpB,cAAc,GAAG,IAoBnB,CAAC"}
1
+ {"version":3,"file":"angular-imports.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-imports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACf,MAAM,qDAAqD,CAAC;AAiB7D,eAAO,MAAM,WAAW,GACtB,MAAM,QAAQ,CAAC,UAAU,EACzB,SAAS,cAAc,KACtB,aAAa,GAAG,SAoBlB,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,MAAM,QAAQ,CAAC,UAAU,EACzB,YAAY,QAAQ,CAAC,UAAU,KAC9B,OAgBF,CAAC;AAGF,eAAO,MAAM,gBAAgB,GAC3B,MAAM,QAAQ,CAAC,iBAAiB,EAChC,SAAS,cAAc,KACtB,IAmBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,MAAM,gBAAgB,EACtB,SAAS,cAAc,KACtB,oBAAoB,GAAG,IAyBzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,KAAK,QAAQ,CAAC,OAAO,KACpB,cAAc,GAAG,IAoBnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"angular-managed-fields.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-managed-fields.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGzD,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACd,MAAM,qDAAqD,CAAC;AAiE7D,eAAO,MAAM,0BAA0B,GACrC,MAAM,aAAa,EACnB,YAAY,QAAQ,CAAC,UAAU,KAC9B,OAgBF,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,MAAM,aAAa,EACnB,SAAS,cAAc,EACvB,mBAAmB,OAAO,EAC1B,YAAY,QAAQ,CAAC,UAAU,KAC9B,OAqBF,CAAC"}
1
+ {"version":3,"file":"angular-managed-fields.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-managed-fields.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGzD,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACd,MAAM,qDAAqD,CAAC;AAuE7D,eAAO,MAAM,0BAA0B,GACrC,MAAM,aAAa,EACnB,YAAY,QAAQ,CAAC,UAAU,KAC9B,OAiBF,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,MAAM,aAAa,EACnB,SAAS,cAAc,EACvB,mBAAmB,OAAO,EAC1B,YAAY,QAAQ,CAAC,UAAU,KAC9B,OAqBF,CAAC"}
@@ -19,7 +19,7 @@ export type AngularClassMetadata = {
19
19
  readonly component: boolean;
20
20
  readonly metadata: TSESTree.ObjectExpression;
21
21
  };
22
- export type IdentifierKey = {
22
+ type IdentifierKey = {
23
23
  readonly key: TSESTree.Identifier;
24
24
  };
25
25
  export type InstanceField = TSESTree.PropertyDefinition & IdentifierKey;
@@ -51,4 +51,5 @@ export type ReportUnusedMembersOptions = {
51
51
  readonly projectIndexed: () => boolean;
52
52
  readonly projectMemberUsed: ProjectMemberUsed | undefined;
53
53
  };
54
+ export {};
54
55
  //# sourceMappingURL=no-unused-angular-instance-fields.type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"no-unused-angular-instance-fields.type.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAC1B,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,CAAC;AAEvD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG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;IAC5B,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,cAAc,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,gBAAgB,CAAC;IAC7C,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,UAAU,EAAE,CAAC;IAC/B,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,OAAO,CAAC;IACvC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3D,CAAC"}
1
+ {"version":3,"file":"no-unused-angular-instance-fields.type.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.ts"],"names":[],"mappings":"AAAA,OAAO,KA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CAC3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-unused-angular-instance-fields.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAUvD,OAAO,KAAK,EAGV,UAAU,EAIV,WAAW,EACZ,MAAM,oDAAoD,CAAC;AAS5D,KAAK,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;;;;AAwF7B,wBA8CG"}
1
+ {"version":3,"file":"no-unused-angular-instance-fields.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAUvD,OAAO,KAAK,EAGV,UAAU,EAIV,WAAW,EACZ,MAAM,oDAAoD,CAAC;AAS5D,KAAK,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;;;;AAyF7B,wBA8CG"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-class-read-visitor.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-class-read-visitor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAQzD,OAAO,KAAK,EAEV,UAAU,EACV,cAAc,EACf,MAAM,qDAAqD,CAAC;AA2E7D,eAAO,MAAM,gBAAgB,GAC3B,SAAS,UAAU,EAAE,EACrB,OAAO,UAAU,EAAE,EACnB,gBAAgB,cAAc,KAC7B,QAAQ,CAAC,YA+BX,CAAC"}
1
+ {"version":3,"file":"typescript-class-read-visitor.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-class-read-visitor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAQzD,OAAO,KAAK,EAEV,UAAU,EACV,cAAc,EACf,MAAM,qDAAqD,CAAC;AA2E7D,eAAO,MAAM,gBAAgB,GAC3B,SAAS,UAAU,EAAE,EACrB,OAAO,UAAU,EAAE,EACnB,gBAAgB,cAAc,KAC7B,QAAQ,CAAC,YAgCX,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"no-unused-classes.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/no-unused-classes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAoC,MAAM,WAAW,CAAC;AAsB1E,eAAO,MAAM,QAAQ,iCAAiC,CAAC;AAMvD,eAAO,MAAM,QAAQ;qBAJG,MAAM,KAAG,MAAM;CAI2B,CAAC;AAyInE,QAAA,MAAM,MAAM,EAAE,MAAgD,CAAC;AAE/D,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"no-unused-classes.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/no-unused-classes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAoC,MAAM,WAAW,CAAC;AAwB1E,eAAO,MAAM,QAAQ,iCAAiC,CAAC;AAOvD,eAAO,MAAM,QAAQ;qBALG,MAAM,KAAG,MAAM;CAK2B,CAAC;AAuInE,QAAA,MAAM,MAAM,EAAE,MAAgD,CAAC;AAE/D,eAAe,MAAM,CAAC"}
@@ -0,0 +1,9 @@
1
+ /** Relative stylesheet hrefs a template links, cached by the template's mtime. */
2
+ export declare const templateLinks: (templatePath: string) => string[];
3
+ /**
4
+ * Every template under the working directory that links the stylesheet.
5
+ * The walk is rebuilt at most every 100x its own duration, so a link added
6
+ * elsewhere in the project shows up on a later lint.
7
+ */
8
+ export declare const linkedTemplates: (stylesheetPath: string) => string[];
9
+ //# sourceMappingURL=linked-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linked-templates.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/styles/linked-templates.ts"],"names":[],"mappings":"AAmBA,kFAAkF;AAElF,eAAO,MAAM,aAAa,GAAI,cAAc,MAAM,KAAG,MAAM,EAE1D,CAAC;AAsFF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,gBAAgB,MAAM,KAAG,MAAM,EAE9D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"stylesheet-components.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/styles/stylesheet-components.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAmG1E,eAAO,MAAM,mBAAmB,GAC9B,gBAAgB,MAAM,KACrB,cAAc,EAchB,CAAC"}
1
+ {"version":3,"file":"stylesheet-components.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/styles/stylesheet-components.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAmI1E,eAAO,MAAM,mBAAmB,GAC9B,gBAAgB,MAAM,KACrB,cAAc,EAehB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"template-usage.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/template/template-usage.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACd,MAAM,qCAAqC,CAAC;AAkH7C,eAAO,MAAM,aAAa,GAAI,SAAS,cAAc,EAAE,KAAG,aAuBzD,CAAC"}
1
+ {"version":3,"file":"template-usage.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/template/template-usage.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACd,MAAM,qCAAqC,CAAC;AAwH7C,eAAO,MAAM,aAAa,GAAI,SAAS,cAAc,EAAE,KAAG,aAuBzD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './no-unused-exports.type.ts';
3
+ export declare const entryPointDefaults: string[];
4
+ export declare const STAR_NAME = "*";
5
+ export declare const meta: ESLintUtils.NamedCreateRuleMeta<MessageIds, unknown, Options>;
6
+ export declare const defaultOptions: Options;
7
+ //# sourceMappingURL=no-unused-exports.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-unused-exports.const.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/common/no-unused-exports.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EAER,MAAM,6BAA6B,CAAC;AAGrC,eAAO,MAAM,kBAAkB,EAAE,MAAM,EAetC,CAAC;AAEF,eAAO,MAAM,SAAS,MAAM,CAAC;AAgC7B,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAChD,UAAU,EACV,OAAO,EACP,OAAO,CAMR,CAAC;AAIF,eAAO,MAAM,cAAc,EAAE,OAAwB,CAAC"}
@@ -0,0 +1,70 @@
1
+ import type { TSESLint } from '@typescript-eslint/utils';
2
+ import type { Expression, SourceFile } from 'typescript';
3
+ export type MessageIds = 'unusedExport' | 'unusedModule';
4
+ export type RuleOptions = {
5
+ readonly entryPoints: string[];
6
+ };
7
+ export type Options = [RuleOptions];
8
+ export type RuleContext = TSESLint.RuleContext<MessageIds, Options>;
9
+ export type ImportEdge = {
10
+ readonly target: string;
11
+ readonly names: string[];
12
+ };
13
+ export type ReExportEdge = {
14
+ readonly target: string;
15
+ readonly source: string;
16
+ readonly exported: string;
17
+ };
18
+ export type FileEdges = {
19
+ readonly fileName: string;
20
+ readonly exports: string[];
21
+ readonly declared: Set<string>;
22
+ readonly imports: ImportEdge[];
23
+ readonly reExports: ReExportEdge[];
24
+ readonly starTargets: string[];
25
+ readonly skipped: boolean;
26
+ };
27
+ export type EdgeAccumulator = {
28
+ readonly exports: string[];
29
+ readonly declared: Set<string>;
30
+ readonly imports: ImportEdge[];
31
+ readonly reExports: ReExportEdge[];
32
+ readonly starTargets: string[];
33
+ };
34
+ export type ModuleResolver = (specifier: Expression | undefined) => string | undefined;
35
+ export type ExportUsage = Map<string, Map<string, number>>;
36
+ export type PublicExports = Map<string, Set<string>>;
37
+ export type ReExportIndex = Map<string, Map<string, ReExportEdge>>;
38
+ export type UsageKey = {
39
+ readonly fileName: string;
40
+ readonly name: string;
41
+ };
42
+ export type UsageContext = {
43
+ readonly byFile: Map<string, FileEdges>;
44
+ readonly reExportsByName: ReExportIndex;
45
+ };
46
+ export type UsageWalk = {
47
+ readonly visited: Set<string>;
48
+ readonly depth: number;
49
+ readonly keys: UsageKey[];
50
+ };
51
+ export type FileContribution = {
52
+ readonly usage: UsageKey[];
53
+ readonly imported: string[];
54
+ readonly starTouched: string[];
55
+ };
56
+ export type FileChange = {
57
+ readonly fileName: string;
58
+ readonly before: FileEdges | undefined;
59
+ readonly after: FileEdges | undefined;
60
+ };
61
+ export type Aggregate = {
62
+ readonly byFile: Map<string, FileEdges>;
63
+ readonly usage: ExportUsage;
64
+ readonly imported: Map<string, number>;
65
+ readonly reExportsByName: ReExportIndex;
66
+ readonly contributions: Map<string, FileContribution>;
67
+ readonly starTouched: Map<string, number>;
68
+ };
69
+ export type IsExternalFile = (sourceFile: SourceFile) => boolean;
70
+ //# sourceMappingURL=no-unused-exports.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-unused-exports.type.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/common/no-unused-exports.type.ts"],"names":[],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B,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,eAAe,EAAE,aAAa,CAAC;IACxC,QAAQ,CAAC,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IACtD,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,UAAU,EAAE,UAAU,KAAK,OAAO,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Program } from 'typescript';
2
+ import type { Aggregate, PublicExports } from './common/no-unused-exports.type.ts';
3
+ import type { GlobMatcher } from '../common/glob-matcher.type.ts';
4
+ export declare const exportIndex: (program: Program) => Aggregate;
5
+ export declare const publicExportIndex: (aggregate: Aggregate, isEntry: GlobMatcher) => PublicExports;
6
+ //# sourceMappingURL=export-index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/export-index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAA2B,MAAM,YAAY,CAAC;AAEnE,OAAO,KAAK,EACV,SAAS,EAGT,aAAa,EAEd,MAAM,oCAAoC,CAAC;AAQ5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AA2ElE,eAAO,MAAM,WAAW,GAAI,SAAS,OAAO,KAAG,SAa9C,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,WAAW,SAAS,EACpB,SAAS,WAAW,KACnB,aAoBF,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './common/no-unused-exports.type.ts';
3
+ declare const _default: ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener> & {
4
+ name: string;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=no-unused-exports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-unused-exports.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/no-unused-exports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AASvD,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EAER,MAAM,oCAAoC,CAAC;;;;AAmC5C,wBAuBG"}
@@ -0,0 +1,12 @@
1
+ import type { ParserServicesWithTypeInformation, TSESTree } from '@typescript-eslint/utils';
2
+ import type { RuleContext } from './common/no-unused-exports.type.ts';
3
+ import type { GlobMatcher } from '../common/glob-matcher.type.ts';
4
+ type ReportOptions = {
5
+ readonly context: RuleContext;
6
+ readonly isEntry: GlobMatcher;
7
+ readonly node: TSESTree.Program;
8
+ readonly services: ParserServicesWithTypeInformation;
9
+ };
10
+ export declare const reportUnusedExports: ({ context, isEntry, node, services }: ReportOptions) => void;
11
+ export {};
12
+ //# sourceMappingURL=report-unused-exports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-unused-exports.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/report-unused-exports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EAEjC,QAAQ,EACT,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAGV,WAAW,EACZ,MAAM,oCAAoC,CAAC;AAG5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAElE,KAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,iCAAiC,CAAC;CACtD,CAAC;AA+CF,eAAO,MAAM,mBAAmB,GAAI,sCAKjC,aAAa,KAAG,IAkClB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Aggregate, FileChange, FileEdges } from '../common/no-unused-exports.type.ts';
2
+ export declare const buildAggregate: (byFile: Map<string, FileEdges>) => Aggregate;
3
+ export declare const updateAggregate: (aggregate: Aggregate, changes: FileChange[]) => void;
4
+ //# sourceMappingURL=aggregate-update.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregate-update.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/aggregate-update.util.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,SAAS,EAET,UAAU,EAEV,SAAS,EAGV,MAAM,qCAAqC,CAAC;AA0G7C,eAAO,MAAM,cAAc,GAAI,QAAQ,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,KAAG,SAe/D,CAAC;AAuBF,eAAO,MAAM,eAAe,GAC1B,WAAW,SAAS,EACpB,SAAS,UAAU,EAAE,KACpB,IASF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ExportDeclaration } from 'typescript';
2
+ import type { EdgeAccumulator, ModuleResolver } from '../common/no-unused-exports.type.ts';
3
+ export declare const addExportFrom: (statement: ExportDeclaration, edges: EdgeAccumulator, resolve: ModuleResolver) => void;
4
+ export declare const addLocalExport: (statement: ExportDeclaration, edges: EdgeAccumulator) => void;
5
+ //# sourceMappingURL=export-edges.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-edges.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/export-edges.util.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAmB,MAAM,YAAY,CAAC;AAErE,OAAO,KAAK,EACV,eAAe,EAEf,cAAc,EAEf,MAAM,qCAAqC,CAAC;AAmB7C,eAAO,MAAM,aAAa,GACxB,WAAW,iBAAiB,EAC5B,OAAO,eAAe,EACtB,SAAS,cAAc,KACtB,IA4BF,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,WAAW,iBAAiB,EAC5B,OAAO,eAAe,KACrB,IAaF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { TSESTree } from '@typescript-eslint/utils';
2
+ type ExportNodes = Map<string, TSESTree.Node>;
3
+ export declare const exportNodes: (program: TSESTree.Program) => ExportNodes;
4
+ export {};
5
+ //# sourceMappingURL=export-nodes.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-nodes.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/export-nodes.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,KAAK,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAkE9C,eAAO,MAAM,WAAW,GAAI,SAAS,QAAQ,CAAC,OAAO,KAAG,WAevD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ReExportIndex, UsageContext, UsageKey } from '../common/no-unused-exports.type.ts';
2
+ export declare const reExportIndex: (byFile: UsageContext["byFile"]) => ReExportIndex;
3
+ export declare const markUsage: (context: UsageContext, target: string, name: string) => UsageKey[];
4
+ //# sourceMappingURL=export-usage.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-usage.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/export-usage.util.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,aAAa,EACb,YAAY,EACZ,QAAQ,EAET,MAAM,qCAAqC,CAAC;AAI7C,eAAO,MAAM,aAAa,GACxB,QAAQ,YAAY,CAAC,QAAQ,CAAC,KAC7B,aAcF,CAAC;AAuFF,eAAO,MAAM,SAAS,GACpB,SAAS,YAAY,EACrB,QAAQ,MAAM,EACd,MAAM,MAAM,KACX,QAAQ,EAaV,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Statement } from 'typescript';
2
+ export declare const exportedNames: (statement: Statement) => string[];
3
+ //# sourceMappingURL=exported-names.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exported-names.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/exported-names.util.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAqB,MAAM,YAAY,CAAC;AAqC/D,eAAO,MAAM,aAAa,GAAI,WAAW,SAAS,KAAG,MAAM,EAgB1D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { FileChange, FileEdges } from '../common/no-unused-exports.type.ts';
2
+ export declare const fileChanges: (before: Map<string, FileEdges>, after: Map<string, FileEdges>) => FileChange[];
3
+ export declare const isIncremental: (changes: FileChange[], starTouched: Map<string, number>) => boolean;
4
+ //# sourceMappingURL=file-changes.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-changes.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/file-changes.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACV,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,WAAW,GACtB,QAAQ,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,EAC9B,OAAO,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,KAC5B,UAAU,EAwBZ,CAAC;AAmBF,eAAO,MAAM,aAAa,GACxB,SAAS,UAAU,EAAE,EACrB,aAAa,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAC/B,OAkBF,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SourceFile, TypeChecker } from 'typescript';
2
+ import type { FileEdges, IsExternalFile } from '../common/no-unused-exports.type.ts';
3
+ export declare const moduleEdges: (sourceFile: SourceFile, checker: TypeChecker, isExternal: IsExternalFile) => FileEdges;
4
+ //# sourceMappingURL=module-edges.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-edges.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/module-edges.util.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAIV,UAAU,EAEV,WAAW,EACZ,MAAM,YAAY,CAAC;AAKpB,OAAO,KAAK,EAEV,SAAS,EAET,cAAc,EAEf,MAAM,qCAAqC,CAAC;AAuH7C,eAAO,MAAM,WAAW,GACtB,YAAY,UAAU,EACtB,SAAS,WAAW,EACpB,YAAY,cAAc,KACzB,SA+BF,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Expression, TypeChecker } from 'typescript';
2
+ import type { IsExternalFile } from '../common/no-unused-exports.type.ts';
3
+ export declare const moduleTarget: (specifier: Expression | undefined, checker: TypeChecker, isExternal: IsExternalFile) => string | undefined;
4
+ //# sourceMappingURL=module-target.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-target.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/module-target.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAQ,WAAW,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAa1E,eAAO,MAAM,YAAY,GACvB,WAAW,UAAU,GAAG,SAAS,EACjC,SAAS,WAAW,EACpB,YAAY,cAAc,KACzB,MAAM,GAAG,SAgBX,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { PublicExports, UsageContext } from '../common/no-unused-exports.type.ts';
2
+ export declare const publicExports: (context: UsageContext, entryFiles: string[]) => PublicExports;
3
+ //# sourceMappingURL=public-exports.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-exports.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/public-exports.util.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACb,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,aAAa,GACxB,SAAS,YAAY,EACrB,YAAY,MAAM,EAAE,KACnB,aAeF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"one-line-guard.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/one-line-guard/one-line-guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;AAGjE,KAAK,mBAAmB,GAAG;IAAE,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAC9D,KAAK,OAAO,GAAG,CAAC,mBAAmB,CAAC,CAAC;;;;AAyFrC,wBAqDG"}
1
+ {"version":3,"file":"one-line-guard.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/one-line-guard/one-line-guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;AAGjE,KAAK,mBAAmB,GAAG;IAAE,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAC9D,KAAK,OAAO,GAAG,CAAC,mBAAmB,CAAC,CAAC;;;;AAoGrC,wBAqDG"}
@@ -1,5 +1,6 @@
1
1
  import { ESLintUtils } from '@typescript-eslint/utils';
2
- declare const _default: ESLintUtils.RuleModule<"missingReadonly", [], unknown, ESLintUtils.RuleListener> & {
2
+ type MessageIds = 'missingReadonly' | 'readonlyArray';
3
+ declare const _default: ESLintUtils.RuleModule<MessageIds, [], unknown, ESLintUtils.RuleListener> & {
3
4
  name: string;
4
5
  };
5
6
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"readonly-type-properties.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/readonly-type-properties/readonly-type-properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;;;;AAoFjE,wBA+BG"}
1
+ {"version":3,"file":"readonly-type-properties.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/readonly-type-properties/readonly-type-properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;AAIjE,KAAK,UAAU,GAAG,iBAAiB,GAAG,eAAe,CAAC;;;;AAiHtD,wBAgEG"}
@@ -1,7 +1,7 @@
1
- import type { ClassMatcher, SelectorClasses } from '../common/class-usage.type.ts';
1
+ import type { ClassMatcher, SelectorClasses } from './common/class-usage.type.ts';
2
2
  export declare const classNamePattern: (value: string) => string;
3
3
  export declare const resolveSelectors: (selectors: string[], parents: string[]) => string[];
4
4
  export declare const selectorClasses: (selector: string) => SelectorClasses;
5
5
  export declare const selectorTemplateClasses: (selector: string) => string[];
6
6
  export declare const classMatcher: (exact: Set<string>, patterns: RegExp[]) => ClassMatcher;
7
- //# sourceMappingURL=selector-classes.util.d.ts.map
7
+ //# sourceMappingURL=selector-classes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selector-classes.d.ts","sourceRoot":"","sources":["../../../../../../packages/lint-suite/src/lib/rules/selector-classes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAqBlF,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,KAAG,MAKhD,CAAC;AAcF,eAAO,MAAM,gBAAgB,GAC3B,WAAW,MAAM,EAAE,EACnB,SAAS,MAAM,EAAE,KAChB,MAAM,EAcR,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,KAAG,eAoClD,CAAC;AA+CF,eAAO,MAAM,uBAAuB,GAAI,UAAU,MAAM,KAAG,MAAM,EAehE,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,OAAO,GAAG,CAAC,MAAM,CAAC,EAClB,UAAU,MAAM,EAAE,KACjB,YAUF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ESLintUtils } from '@typescript-eslint/utils';
2
+ declare const _default: ESLintUtils.RuleModule<"ternaryBranch", [], unknown, ESLintUtils.RuleListener> & {
3
+ name: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=ternary-branch-shape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ternary-branch-shape.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/ternary-branch-shape/ternary-branch-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;;;;AAwDjE,wBA6BG"}
@@ -0,0 +1,14 @@
1
+ import type { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { ForbiddenShape, MessageIds, Options } from './test-file-shape.type.ts';
3
+ export declare const meta: ESLintUtils.NamedCreateRuleMeta<MessageIds, unknown, Options>;
4
+ export declare const defaultOptions: Options;
5
+ export declare const FORBIDDEN_SHAPES: ForbiddenShape[];
6
+ export declare const STUB_FILE_PATTERN: RegExp;
7
+ export declare const MOCK_FILE_PATTERN: RegExp;
8
+ export declare const SPEC_UTIL_FILE_PATTERN: RegExp;
9
+ export declare const TESTING_LIB_SEGMENT = "/testing/";
10
+ export declare const TEST_FIXTURES_SEGMENT = "/test/fixtures/";
11
+ export declare const FIXTURES_SEGMENT: RegExp;
12
+ export declare const STUB_NAME_PATTERN: RegExp;
13
+ export declare const MOCK_NAME_PATTERN: RegExp;
14
+ //# sourceMappingURL=test-file-shape.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-file-shape.const.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/test-file-shape/common/test-file-shape.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;AAEtE,OAAO,KAAK,EACV,cAAc,EACd,UAAU,EACV,OAAO,EACR,MAAM,2BAA2B,CAAC;AAqBnC,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAChD,UAAU,EACV,OAAO,EACP,OAAO,CAMR,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,OAAY,CAAC;AAE1C,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAQ5C,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAiC,CAAC;AAEhE,eAAO,MAAM,iBAAiB,QAAiC,CAAC;AAEhE,eAAO,MAAM,sBAAsB,QAAuC,CAAC;AAE3E,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AAEvD,eAAO,MAAM,gBAAgB,QAAiB,CAAC;AAE/C,eAAO,MAAM,iBAAiB,QAAkC,CAAC;AAEjE,eAAO,MAAM,iBAAiB,QAA4B,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type Options = [];
2
+ export type MessageIds = 'forbiddenTestFile' | 'stubName' | 'stubType' | 'mockName' | 'mockFactory' | 'mockReturnType';
3
+ export type ForbiddenShape = {
4
+ readonly pattern: RegExp;
5
+ readonly shape: string;
6
+ };
7
+ //# sourceMappingURL=test-file-shape.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-file-shape.type.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/test-file-shape/common/test-file-shape.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,EAAE,CAAC;AAEzB,MAAM,MAAM,UAAU,GAClB,mBAAmB,GACnB,UAAU,GACV,UAAU,GACV,UAAU,GACV,aAAa,GACb,gBAAgB,CAAC;AAErB,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TSESLint } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './common/test-file-shape.type.ts';
3
+ type RuleContext = TSESLint.RuleContext<MessageIds, Options>;
4
+ export declare const isMockFile: (filename: string) => boolean;
5
+ export declare const mockExportListeners: (context: Readonly<RuleContext>) => TSESLint.RuleListener;
6
+ export {};
7
+ //# sourceMappingURL=mock-exports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mock-exports.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/test-file-shape/mock-exports.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAOzD,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE5E,KAAK,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AAE7D,eAAO,MAAM,UAAU,GAAI,UAAU,MAAM,KAAG,OAQ7C,CAAC;AAuFF,eAAO,MAAM,mBAAmB,GAC9B,SAAS,QAAQ,CAAC,WAAW,CAAC,KAC7B,QAAQ,CAAC,YAuBX,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TSESLint } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './common/test-file-shape.type.ts';
3
+ type RuleContext = TSESLint.RuleContext<MessageIds, Options>;
4
+ export declare const isStubFile: (filename: string) => boolean;
5
+ export declare const stubExportListeners: (context: Readonly<RuleContext>) => TSESLint.RuleListener;
6
+ export {};
7
+ //# sourceMappingURL=stub-exports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stub-exports.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/test-file-shape/stub-exports.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAOzD,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE5E,KAAK,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AAE7D,eAAO,MAAM,UAAU,GAAI,UAAU,MAAM,KAAG,OAQ7C,CAAC;AAwCF,eAAO,MAAM,mBAAmB,GAC9B,SAAS,QAAQ,CAAC,WAAW,CAAC,KAC7B,QAAQ,CAAC,YAUX,CAAC"}