lint-suite 1.6.2 → 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 (207) hide show
  1. package/README.md +262 -18
  2. package/eslint.cjs +4027 -467
  3. package/eslint.cjs.map +4 -4
  4. package/eslint.js +3972 -350
  5. package/eslint.js.map +4 -4
  6. package/lib/angular-template.d.ts.map +1 -1
  7. package/lib/angular.d.ts +0 -1
  8. package/lib/angular.d.ts.map +1 -1
  9. package/lib/base-limits.d.ts.map +1 -1
  10. package/lib/base-practices.d.ts.map +1 -1
  11. package/lib/line-length.const.d.ts +2 -0
  12. package/lib/line-length.const.d.ts.map +1 -0
  13. package/lib/rules/arrow-body-fits-line/arrow-body-fits-line.d.ts +6 -0
  14. package/lib/rules/arrow-body-fits-line/arrow-body-fits-line.d.ts.map +1 -0
  15. package/lib/rules/chain-fits-line/chain-fits-line.d.ts +6 -0
  16. package/lib/rules/chain-fits-line/chain-fits-line.d.ts.map +1 -0
  17. package/lib/rules/chain-receiver-is-name/chain-receiver-is-name.d.ts +7 -0
  18. package/lib/rules/chain-receiver-is-name/chain-receiver-is-name.d.ts.map +1 -0
  19. package/lib/rules/common/class-usage.type.d.ts +26 -0
  20. package/lib/rules/common/class-usage.type.d.ts.map +1 -0
  21. package/lib/rules/common/file-cache.type.d.ts +11 -0
  22. package/lib/rules/common/file-cache.type.d.ts.map +1 -0
  23. package/lib/rules/common/glob-matcher.type.d.ts +2 -0
  24. package/lib/rules/common/glob-matcher.type.d.ts.map +1 -0
  25. package/lib/rules/component-metadata.d.ts +3 -0
  26. package/lib/rules/component-metadata.d.ts.map +1 -0
  27. package/lib/rules/explicit-accessibility/common/explicit-accessibility.const.d.ts +1 -1
  28. package/lib/rules/explicit-accessibility/common/explicit-accessibility.const.d.ts.map +1 -1
  29. package/lib/rules/explicit-accessibility/common/explicit-accessibility.type.d.ts +4 -1
  30. package/lib/rules/explicit-accessibility/common/explicit-accessibility.type.d.ts.map +1 -1
  31. package/lib/rules/file-cache.d.ts +14 -0
  32. package/lib/rules/file-cache.d.ts.map +1 -0
  33. package/lib/rules/max-condition-operands/max-condition-operands.d.ts +10 -0
  34. package/lib/rules/max-condition-operands/max-condition-operands.d.ts.map +1 -0
  35. package/lib/rules/no-call-in-condition/common/no-call-in-condition.const.d.ts +6 -0
  36. package/lib/rules/no-call-in-condition/common/no-call-in-condition.const.d.ts.map +1 -0
  37. package/lib/rules/no-call-in-condition/common/no-call-in-condition.type.d.ts +21 -0
  38. package/lib/rules/no-call-in-condition/common/no-call-in-condition.type.d.ts.map +1 -0
  39. package/lib/rules/no-call-in-condition/no-call-in-condition.d.ts +7 -0
  40. package/lib/rules/no-call-in-condition/no-call-in-condition.d.ts.map +1 -0
  41. package/lib/rules/no-call-in-condition/utils/call-exemptions.util.d.ts +4 -0
  42. package/lib/rules/no-call-in-condition/utils/call-exemptions.util.d.ts.map +1 -0
  43. package/lib/rules/no-call-in-condition/utils/condition-calls.util.d.ts +7 -0
  44. package/lib/rules/no-call-in-condition/utils/condition-calls.util.d.ts.map +1 -0
  45. package/lib/rules/no-grouped-condition/no-grouped-condition.d.ts +7 -0
  46. package/lib/rules/no-grouped-condition/no-grouped-condition.d.ts.map +1 -0
  47. package/lib/rules/no-inline-object-types/no-inline-object-types.d.ts.map +1 -1
  48. package/lib/rules/no-inline-return-object/no-inline-return-object.d.ts +6 -0
  49. package/lib/rules/no-inline-return-object/no-inline-return-object.d.ts.map +1 -0
  50. package/lib/rules/no-nested-object-value/common/no-nested-object-value.const.d.ts +5 -0
  51. package/lib/rules/no-nested-object-value/common/no-nested-object-value.const.d.ts.map +1 -0
  52. package/lib/rules/no-nested-object-value/common/no-nested-object-value.type.d.ts +7 -0
  53. package/lib/rules/no-nested-object-value/common/no-nested-object-value.type.d.ts.map +1 -0
  54. package/lib/rules/no-nested-object-value/no-nested-object-value.d.ts +7 -0
  55. package/lib/rules/no-nested-object-value/no-nested-object-value.d.ts.map +1 -0
  56. package/lib/rules/no-nested-object-value/utils/decorator-config.util.d.ts +3 -0
  57. package/lib/rules/no-nested-object-value/utils/decorator-config.util.d.ts.map +1 -0
  58. package/lib/rules/no-spread-expression/no-spread-expression.d.ts +6 -0
  59. package/lib/rules/no-spread-expression/no-spread-expression.d.ts.map +1 -0
  60. package/lib/rules/no-unstyled-classes/common/no-unstyled-classes.type.d.ts +33 -0
  61. package/lib/rules/no-unstyled-classes/common/no-unstyled-classes.type.d.ts.map +1 -0
  62. package/lib/rules/no-unstyled-classes/no-unstyled-classes.d.ts +8 -0
  63. package/lib/rules/no-unstyled-classes/no-unstyled-classes.d.ts.map +1 -0
  64. package/lib/rules/no-unstyled-classes/styles/component-stylesheets.d.ts +4 -0
  65. package/lib/rules/no-unstyled-classes/styles/component-stylesheets.d.ts.map +1 -0
  66. package/lib/rules/no-unstyled-classes/styles/linked-stylesheets.d.ts +3 -0
  67. package/lib/rules/no-unstyled-classes/styles/linked-stylesheets.d.ts.map +1 -0
  68. package/lib/rules/no-unstyled-classes/styles/stylesheet-classes.d.ts +3 -0
  69. package/lib/rules/no-unstyled-classes/styles/stylesheet-classes.d.ts.map +1 -0
  70. package/lib/rules/no-unstyled-classes/styles/stylesheet-collection.d.ts +4 -0
  71. package/lib/rules/no-unstyled-classes/styles/stylesheet-collection.d.ts.map +1 -0
  72. package/lib/rules/no-unstyled-classes/styles/stylesheet-imports.d.ts +2 -0
  73. package/lib/rules/no-unstyled-classes/styles/stylesheet-imports.d.ts.map +1 -0
  74. package/lib/rules/no-unstyled-classes/styles/template-stylesheets.d.ts +3 -0
  75. package/lib/rules/no-unstyled-classes/styles/template-stylesheets.d.ts.map +1 -0
  76. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-directive-index.d.ts +5 -0
  77. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-directive-index.d.ts.map +1 -1
  78. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-resolved-path.d.ts.map +1 -1
  79. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-resolution.d.ts +0 -1
  80. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-resolution.d.ts.map +1 -1
  81. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-reads.d.ts.map +1 -1
  82. package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-references.d.ts.map +1 -1
  83. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts +6 -8
  84. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts.map +1 -1
  85. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.d.ts +3 -14
  86. package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.d.ts.map +1 -1
  87. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-file-entry.d.ts.map +1 -1
  88. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.d.ts +3 -2
  89. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.d.ts.map +1 -1
  90. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.d.ts +1 -1
  91. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.d.ts.map +1 -1
  92. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.d.ts +8 -4
  93. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.d.ts.map +1 -1
  94. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.d.ts +3 -2
  95. package/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.d.ts.map +1 -1
  96. package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-destructuring-reads.d.ts.map +1 -1
  97. package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-reads.d.ts.map +1 -1
  98. package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/class-members.util.d.ts +10 -0
  99. package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/class-members.util.d.ts.map +1 -0
  100. package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-class-fields.d.ts.map +1 -1
  101. package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-imports.d.ts.map +1 -1
  102. package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-managed-fields.d.ts.map +1 -1
  103. package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-literals.d.ts.map +1 -1
  104. package/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.d.ts +2 -1
  105. package/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.d.ts.map +1 -1
  106. package/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.d.ts.map +1 -1
  107. package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-class-read-visitor.d.ts.map +1 -1
  108. package/lib/rules/no-unused-classes/common/no-unused-classes.type.d.ts +24 -0
  109. package/lib/rules/no-unused-classes/common/no-unused-classes.type.d.ts.map +1 -0
  110. package/lib/rules/no-unused-classes/no-unused-classes.d.ts +8 -0
  111. package/lib/rules/no-unused-classes/no-unused-classes.d.ts.map +1 -0
  112. package/lib/rules/no-unused-classes/styles/linked-templates.d.ts +9 -0
  113. package/lib/rules/no-unused-classes/styles/linked-templates.d.ts.map +1 -0
  114. package/lib/rules/no-unused-classes/styles/stylesheet-components.d.ts +3 -0
  115. package/lib/rules/no-unused-classes/styles/stylesheet-components.d.ts.map +1 -0
  116. package/lib/rules/no-unused-classes/template/template-usage.d.ts +3 -0
  117. package/lib/rules/no-unused-classes/template/template-usage.d.ts.map +1 -0
  118. package/lib/rules/no-unused-exports/common/no-unused-exports.const.d.ts +7 -0
  119. package/lib/rules/no-unused-exports/common/no-unused-exports.const.d.ts.map +1 -0
  120. package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts +70 -0
  121. package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts.map +1 -0
  122. package/lib/rules/no-unused-exports/export-index.d.ts +6 -0
  123. package/lib/rules/no-unused-exports/export-index.d.ts.map +1 -0
  124. package/lib/rules/no-unused-exports/no-unused-exports.d.ts +7 -0
  125. package/lib/rules/no-unused-exports/no-unused-exports.d.ts.map +1 -0
  126. package/lib/rules/no-unused-exports/report-unused-exports.d.ts +12 -0
  127. package/lib/rules/no-unused-exports/report-unused-exports.d.ts.map +1 -0
  128. package/lib/rules/no-unused-exports/utils/aggregate-update.util.d.ts +4 -0
  129. package/lib/rules/no-unused-exports/utils/aggregate-update.util.d.ts.map +1 -0
  130. package/lib/rules/no-unused-exports/utils/export-edges.util.d.ts +5 -0
  131. package/lib/rules/no-unused-exports/utils/export-edges.util.d.ts.map +1 -0
  132. package/lib/rules/no-unused-exports/utils/export-nodes.util.d.ts +5 -0
  133. package/lib/rules/no-unused-exports/utils/export-nodes.util.d.ts.map +1 -0
  134. package/lib/rules/no-unused-exports/utils/export-usage.util.d.ts +4 -0
  135. package/lib/rules/no-unused-exports/utils/export-usage.util.d.ts.map +1 -0
  136. package/lib/rules/no-unused-exports/utils/exported-names.util.d.ts +3 -0
  137. package/lib/rules/no-unused-exports/utils/exported-names.util.d.ts.map +1 -0
  138. package/lib/rules/no-unused-exports/utils/file-changes.util.d.ts +4 -0
  139. package/lib/rules/no-unused-exports/utils/file-changes.util.d.ts.map +1 -0
  140. package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts +4 -0
  141. package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts.map +1 -0
  142. package/lib/rules/no-unused-exports/utils/module-target.util.d.ts +4 -0
  143. package/lib/rules/no-unused-exports/utils/module-target.util.d.ts.map +1 -0
  144. package/lib/rules/no-unused-exports/utils/public-exports.util.d.ts +3 -0
  145. package/lib/rules/no-unused-exports/utils/public-exports.util.d.ts.map +1 -0
  146. package/lib/rules/one-line-guard/one-line-guard.d.ts +10 -0
  147. package/lib/rules/one-line-guard/one-line-guard.d.ts.map +1 -0
  148. package/lib/rules/readonly-type-properties/readonly-type-properties.d.ts +2 -1
  149. package/lib/rules/readonly-type-properties/readonly-type-properties.d.ts.map +1 -1
  150. package/lib/rules/selector-classes.d.ts +7 -0
  151. package/lib/rules/selector-classes.d.ts.map +1 -0
  152. package/lib/rules/ternary-branch-shape/ternary-branch-shape.d.ts +6 -0
  153. package/lib/rules/ternary-branch-shape/ternary-branch-shape.d.ts.map +1 -0
  154. package/lib/rules/test-file-shape/common/test-file-shape.const.d.ts +14 -0
  155. package/lib/rules/test-file-shape/common/test-file-shape.const.d.ts.map +1 -0
  156. package/lib/rules/test-file-shape/common/test-file-shape.type.d.ts +7 -0
  157. package/lib/rules/test-file-shape/common/test-file-shape.type.d.ts.map +1 -0
  158. package/lib/rules/test-file-shape/mock-exports.d.ts +7 -0
  159. package/lib/rules/test-file-shape/mock-exports.d.ts.map +1 -0
  160. package/lib/rules/test-file-shape/stub-exports.d.ts +7 -0
  161. package/lib/rules/test-file-shape/stub-exports.d.ts.map +1 -0
  162. package/lib/rules/test-file-shape/test-file-shape.d.ts +7 -0
  163. package/lib/rules/test-file-shape/test-file-shape.d.ts.map +1 -0
  164. package/lib/rules/type-placement/common/type-placement.const.d.ts +5 -0
  165. package/lib/rules/type-placement/common/type-placement.const.d.ts.map +1 -0
  166. package/lib/rules/type-placement/common/type-placement.type.d.ts +7 -0
  167. package/lib/rules/type-placement/common/type-placement.type.d.ts.map +1 -0
  168. package/lib/rules/type-placement/type-placement.d.ts +7 -0
  169. package/lib/rules/type-placement/type-placement.d.ts.map +1 -0
  170. package/lib/rules/util-purity/common/util-purity.const.d.ts +10 -0
  171. package/lib/rules/util-purity/common/util-purity.const.d.ts.map +1 -0
  172. package/lib/rules/util-purity/common/util-purity.type.d.ts +7 -0
  173. package/lib/rules/util-purity/common/util-purity.type.d.ts.map +1 -0
  174. package/lib/rules/util-purity/util-purity.d.ts +7 -0
  175. package/lib/rules/util-purity/util-purity.d.ts.map +1 -0
  176. package/lib/rules/utils/class-expression-literals.util.d.ts +4 -0
  177. package/lib/rules/utils/class-expression-literals.util.d.ts.map +1 -0
  178. package/lib/rules/utils/enclosing-statement.util.d.ts +3 -0
  179. package/lib/rules/utils/enclosing-statement.util.d.ts.map +1 -0
  180. package/lib/rules/utils/glob-matcher.util.d.ts +3 -0
  181. package/lib/rules/utils/glob-matcher.util.d.ts.map +1 -0
  182. package/lib/rules/utils/indent-of.util.d.ts +3 -0
  183. package/lib/rules/utils/indent-of.util.d.ts.map +1 -0
  184. package/lib/rules/utils/resolved-rules.util.d.ts +5 -0
  185. package/lib/rules/utils/resolved-rules.util.d.ts.map +1 -0
  186. package/lib/rules/utils/template-classes.util.d.ts +3 -0
  187. package/lib/rules/utils/template-classes.util.d.ts.map +1 -0
  188. package/lib/rules/utils/template-links.util.d.ts +2 -0
  189. package/lib/rules/utils/template-links.util.d.ts.map +1 -0
  190. package/lib/rules/utils/to-regexp.util.d.ts +2 -0
  191. package/lib/rules/utils/to-regexp.util.d.ts.map +1 -0
  192. package/lib/typescript-local-plugin.d.ts.map +1 -1
  193. package/lib/typescript-safety.d.ts.map +1 -1
  194. package/lib/typescript.d.ts +0 -1
  195. package/lib/typescript.d.ts.map +1 -1
  196. package/lib/vitest.d.ts.map +1 -1
  197. package/package.json +4 -1
  198. package/prettier.cjs +6 -1
  199. package/prettier.cjs.map +3 -3
  200. package/prettier.d.ts.map +1 -1
  201. package/prettier.js +4 -1
  202. package/prettier.js.map +3 -3
  203. package/stylelint.cjs +884 -4
  204. package/stylelint.cjs.map +4 -4
  205. package/stylelint.d.ts.map +1 -1
  206. package/stylelint.js +918 -4
  207. package/stylelint.js.map +4 -4
@@ -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"}
@@ -0,0 +1,10 @@
1
+ import { ESLintUtils } from '@typescript-eslint/utils';
2
+ type OneLineGuardOptions = {
3
+ readonly maxLineLength: number;
4
+ };
5
+ type Options = [OneLineGuardOptions];
6
+ declare const _default: ESLintUtils.RuleModule<"oneLineGuard", Options, unknown, ESLintUtils.RuleListener> & {
7
+ name: string;
8
+ };
9
+ export default _default;
10
+ //# sourceMappingURL=one-line-guard.d.ts.map
@@ -0,0 +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;;;;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"}
@@ -0,0 +1,7 @@
1
+ import type { ClassMatcher, SelectorClasses } from './common/class-usage.type.ts';
2
+ export declare const classNamePattern: (value: string) => string;
3
+ export declare const resolveSelectors: (selectors: string[], parents: string[]) => string[];
4
+ export declare const selectorClasses: (selector: string) => SelectorClasses;
5
+ export declare const selectorTemplateClasses: (selector: string) => string[];
6
+ export declare const classMatcher: (exact: Set<string>, patterns: RegExp[]) => ClassMatcher;
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"}
@@ -0,0 +1,7 @@
1
+ import { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { MessageIds } from './common/test-file-shape.type.ts';
3
+ declare const _default: ESLintUtils.RuleModule<MessageIds, [], unknown, ESLintUtils.RuleListener> & {
4
+ name: string;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=test-file-shape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-file-shape.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/test-file-shape/test-file-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAcvD,OAAO,KAAK,EAAE,UAAU,EAAW,MAAM,kCAAkC,CAAC;;;;AA4E5E,wBAsBG"}
@@ -0,0 +1,5 @@
1
+ import type { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './type-placement.type.ts';
3
+ export declare const meta: ESLintUtils.NamedCreateRuleMeta<MessageIds, unknown, Options>;
4
+ export declare const defaultOptions: Options;
5
+ //# sourceMappingURL=type-placement.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-placement.const.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/type-placement/common/type-placement.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAyCpE,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAChD,UAAU,EACV,OAAO,EACP,OAAO,CAMR,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,OAE5B,CAAC"}
@@ -0,0 +1,7 @@
1
+ type TypePlacementOptions = {
2
+ readonly internalPatterns: string[];
3
+ };
4
+ export type Options = [TypePlacementOptions];
5
+ export type MessageIds = 'typeOutsideTypeFile' | 'valueInTypeFile' | 'nonConstInConstFile' | 'typeImportNotFromTypeFile';
6
+ export {};
7
+ //# sourceMappingURL=type-placement.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-placement.type.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/type-placement/common/type-placement.type.ts"],"names":[],"mappings":"AAAA,KAAK,oBAAoB,GAAG;IAAE,QAAQ,CAAC,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAEpE,MAAM,MAAM,OAAO,GAAG,CAAC,oBAAoB,CAAC,CAAC;AAE7C,MAAM,MAAM,UAAU,GAClB,qBAAqB,GACrB,iBAAiB,GACjB,qBAAqB,GACrB,2BAA2B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './common/type-placement.type.ts';
3
+ declare const _default: ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener> & {
4
+ name: string;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=type-placement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-placement.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/type-placement/type-placement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;AAIjE,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;;;;AAmJ3E,wBAiCG"}
@@ -0,0 +1,10 @@
1
+ import type { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './util-purity.type.ts';
3
+ export declare const meta: ESLintUtils.NamedCreateRuleMeta<MessageIds, unknown, Options>;
4
+ export declare const defaultOptions: Options;
5
+ export declare const MODULE_LET_SELECTOR = "Program > VariableDeclaration[kind=\"let\"]";
6
+ export declare const MODULE_STATE_SELECTOR = "Program > VariableDeclaration > VariableDeclarator > NewExpression[callee.name=/^(Map|Set|WeakMap|WeakSet)$/]";
7
+ export declare const AMBIENT_SELECTOR = "MemberExpression[object.name=/^(process|globalThis|window|document|localStorage|sessionStorage|console)$/]";
8
+ export declare const NONDETERMINISTIC_SELECTOR: string;
9
+ export declare const CALL_SELECTOR = "CallExpression[callee.name=/^(setTimeout|setInterval|fetch|inject|require)$/]";
10
+ //# sourceMappingURL=util-purity.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util-purity.const.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/util-purity/common/util-purity.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AA8DjE,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAChD,UAAU,EACV,OAAO,EACP,OAAO,CAMR,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,OAE5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,gDAA8C,CAAC;AAE/E,eAAO,MAAM,qBAAqB,kHAC+E,CAAC;AAElH,eAAO,MAAM,gBAAgB,+GACiF,CAAC;AAS/G,eAAO,MAAM,yBAAyB,QAAwC,CAAC;AAE/E,eAAO,MAAM,aAAa,kFACuD,CAAC"}
@@ -0,0 +1,7 @@
1
+ type UtilPurityOptions = {
2
+ readonly bannedModules: string[];
3
+ };
4
+ export type Options = [UtilPurityOptions];
5
+ export type MessageIds = 'impureImport' | 'moduleLet' | 'moduleState' | 'ambientAccess' | 'nondeterministic' | 'impureCall';
6
+ export {};
7
+ //# sourceMappingURL=util-purity.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util-purity.type.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/util-purity/common/util-purity.type.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG;IAAE,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAE9D,MAAM,MAAM,OAAO,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAE1C,MAAM,MAAM,UAAU,GAClB,cAAc,GACd,WAAW,GACX,aAAa,GACb,eAAe,GACf,kBAAkB,GAClB,YAAY,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ESLintUtils } from '@typescript-eslint/utils';
2
+ import type { MessageIds, Options } from './common/util-purity.type.ts';
3
+ declare const _default: ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener> & {
4
+ name: string;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=util-purity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util-purity.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/util-purity/util-purity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,0BAA0B,CAAC;AAYjE,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;;;;AA+GxE,wBAuCG"}
@@ -0,0 +1,4 @@
1
+ import type { ClassExpressionUsage } from '../common/class-usage.type.ts';
2
+ export declare const classExpressionLiterals: (source: string) => string[];
3
+ export declare const classExpressionUsage: (source: string) => ClassExpressionUsage;
4
+ //# sourceMappingURL=class-expression-literals.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-expression-literals.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/class-expression-literals.util.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AA2F1E,eAAO,MAAM,uBAAuB,GAAI,QAAQ,MAAM,KAAG,MAAM,EAY9D,CAAC;AAoDF,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,oBAoBrD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TSESTree } from '@typescript-eslint/utils';
2
+ export declare const enclosingStatement: (node: TSESTree.Node) => TSESTree.Node;
3
+ //# sourceMappingURL=enclosing-statement.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enclosing-statement.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/enclosing-statement.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAapD,eAAO,MAAM,kBAAkB,GAAI,MAAM,QAAQ,CAAC,IAAI,KAAG,QAAQ,CAAC,IAUjE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { GlobMatcher } from '../common/glob-matcher.type.ts';
2
+ export declare const compileGlobs: (patterns: string[]) => GlobMatcher;
3
+ //# sourceMappingURL=glob-matcher.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"glob-matcher.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/glob-matcher.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAmElE,eAAO,MAAM,YAAY,GAAI,UAAU,MAAM,EAAE,KAAG,WAUjD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
2
+ export declare const indentOf: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode) => string;
3
+ //# sourceMappingURL=indent-of.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indent-of.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/indent-of.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEnE,eAAO,MAAM,QAAQ,GACnB,MAAM,QAAQ,CAAC,IAAI,EACnB,YAAY,QAAQ,CAAC,UAAU,KAC9B,MAKF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Root, Rule } from 'postcss';
2
+ type ResolvedRuleVisitor = (rule: Rule, resolved: string[], parents: string[]) => void;
3
+ export declare const walkResolvedRules: (root: Root, visit: ResolvedRuleVisitor) => void;
4
+ export {};
5
+ //# sourceMappingURL=resolved-rules.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolved-rules.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/resolved-rules.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,IAAI,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAIhE,KAAK,mBAAmB,GAAG,CACzB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAAE,EAClB,OAAO,EAAE,MAAM,EAAE,KACd,IAAI,CAAC;AAsBV,eAAO,MAAM,iBAAiB,GAC5B,MAAM,IAAI,EACV,OAAO,mBAAmB,KACzB,IAEF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ClassAttributeHost, TemplateClass } from '../common/class-usage.type.ts';
2
+ export declare const templateClasses: (node: ClassAttributeHost) => TemplateClass[];
3
+ //# sourceMappingURL=template-classes.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-classes.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/template-classes.util.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAuFvC,eAAO,MAAM,eAAe,GAAI,MAAM,kBAAkB,KAAG,aAAa,EAoBvE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const linkedStylesheetHrefs: (template: string) => string[];
2
+ //# sourceMappingURL=template-links.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-links.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/template-links.util.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,qBAAqB,GAAI,UAAU,MAAM,KAAG,MAAM,EAI9D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const toRegExp: (pattern: string) => RegExp;
2
+ //# sourceMappingURL=to-regexp.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-regexp.util.d.ts","sourceRoot":"","sources":["../../../../../../../packages/lint-suite/src/lib/rules/utils/to-regexp.util.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,KAAG,MAAkC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-local-plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/typescript-local-plugin.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,8CAItB,CAAC"}
1
+ {"version":3,"file":"typescript-local-plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/typescript-local-plugin.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,WAAW,8CAmBtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-safety.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/typescript-safety.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,wCAwE3B,CAAC"}
1
+ {"version":3,"file":"typescript-safety.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/typescript-safety.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,wCAwJ3B,CAAC"}
@@ -1,3 +1,2 @@
1
- export { localPlugin } from './typescript-local-plugin.ts';
2
1
  export declare const typescript: import("eslint/config").ConfigObject[];
3
2
  //# sourceMappingURL=typescript.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/typescript.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,eAAO,MAAM,UAAU,wCAMrB,CAAC"}
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/typescript.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU,wCAMrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vitest.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/vitest.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM,wCAqBjB,CAAC"}
1
+ {"version":3,"file":"vitest.d.ts","sourceRoot":"","sources":["../../../../../packages/lint-suite/src/lib/vitest.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM,wCAqBjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lint-suite",
3
- "version": "1.6.2",
3
+ "version": "2.0.0",
4
4
  "description": "Reusable ESLint, Stylelint, and Prettier configurations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,6 +42,9 @@
42
42
  "eslint-plugin-playwright": "2.11.0",
43
43
  "eslint-plugin-storybook": "10.6.0",
44
44
  "globals": "17.12.0",
45
+ "postcss": "8.5.27",
46
+ "postcss-scss": "4.0.9",
47
+ "postcss-selector-parser": "7.1.6",
45
48
  "stylelint": "17.14.1",
46
49
  "stylelint-config-recess-order": "7.8.0",
47
50
  "stylelint-config-standard": "40.0.0",
package/prettier.cjs CHANGED
@@ -23,11 +23,16 @@ __export(prettier_exports, {
23
23
  prettier: () => prettier
24
24
  });
25
25
  module.exports = __toCommonJS(prettier_exports);
26
+
27
+ // packages/lint-suite/src/lib/line-length.const.ts
28
+ var MAX_LINE_LENGTH = 135;
29
+
30
+ // packages/lint-suite/src/prettier.ts
26
31
  var prettier = {
27
32
  singleQuote: true,
28
33
  semi: true,
29
34
  tabWidth: 2,
30
- printWidth: 135,
35
+ printWidth: MAX_LINE_LENGTH,
31
36
  trailingComma: "none",
32
37
  bracketSpacing: true,
33
38
  bracketSameLine: true,
package/prettier.cjs.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../packages/lint-suite/src/prettier.ts"],
4
- "sourcesContent": ["import type { Config } from 'prettier';\n\nexport const prettier: Config = {\n singleQuote: true,\n semi: true,\n tabWidth: 2,\n printWidth: 135,\n trailingComma: 'none',\n bracketSpacing: true,\n bracketSameLine: true,\n arrowParens: 'always',\n endOfLine: 'lf',\n overrides: [\n { files: '*.html', options: { parser: 'html' } },\n { files: '*.component.html', options: { parser: 'angular' } }\n ]\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,WAAmB;AAAA,EAC9B,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW;AAAA,IACT,EAAE,OAAO,UAAU,SAAS,EAAE,QAAQ,OAAO,EAAE;AAAA,IAC/C,EAAE,OAAO,oBAAoB,SAAS,EAAE,QAAQ,UAAU,EAAE;AAAA,EAC9D;AACF;",
3
+ "sources": ["../../../../packages/lint-suite/src/prettier.ts", "../../../../packages/lint-suite/src/lib/line-length.const.ts"],
4
+ "sourcesContent": ["import type { Config } from 'prettier';\n\nimport { MAX_LINE_LENGTH } from './lib/line-length.const.ts';\n\nexport const prettier: Config = {\n singleQuote: true,\n semi: true,\n tabWidth: 2,\n printWidth: MAX_LINE_LENGTH,\n trailingComma: 'none',\n bracketSpacing: true,\n bracketSameLine: true,\n arrowParens: 'always',\n endOfLine: 'lf',\n overrides: [\n { files: '*.html', options: { parser: 'html' } },\n { files: '*.component.html', options: { parser: 'angular' } }\n ]\n};\n", "export const MAX_LINE_LENGTH = 135;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,kBAAkB;;;ADIxB,IAAM,WAAmB;AAAA,EAC9B,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW;AAAA,IACT,EAAE,OAAO,UAAU,SAAS,EAAE,QAAQ,OAAO,EAAE;AAAA,IAC/C,EAAE,OAAO,oBAAoB,SAAS,EAAE,QAAQ,UAAU,EAAE;AAAA,EAC9D;AACF;",
6
6
  "names": []
7
7
  }
package/prettier.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"prettier.d.ts","sourceRoot":"","sources":["../../../../packages/lint-suite/src/prettier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE,MActB,CAAC"}
1
+ {"version":3,"file":"prettier.d.ts","sourceRoot":"","sources":["../../../../packages/lint-suite/src/prettier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIvC,eAAO,MAAM,QAAQ,EAAE,MActB,CAAC"}
package/prettier.js CHANGED
@@ -1,9 +1,12 @@
1
+ // packages/lint-suite/src/lib/line-length.const.ts
2
+ var MAX_LINE_LENGTH = 135;
3
+
1
4
  // packages/lint-suite/src/prettier.ts
2
5
  var prettier = {
3
6
  singleQuote: true,
4
7
  semi: true,
5
8
  tabWidth: 2,
6
- printWidth: 135,
9
+ printWidth: MAX_LINE_LENGTH,
7
10
  trailingComma: "none",
8
11
  bracketSpacing: true,
9
12
  bracketSameLine: true,
package/prettier.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../packages/lint-suite/src/prettier.ts"],
4
- "sourcesContent": ["import type { Config } from 'prettier';\n\nexport const prettier: Config = {\n singleQuote: true,\n semi: true,\n tabWidth: 2,\n printWidth: 135,\n trailingComma: 'none',\n bracketSpacing: true,\n bracketSameLine: true,\n arrowParens: 'always',\n endOfLine: 'lf',\n overrides: [\n { files: '*.html', options: { parser: 'html' } },\n { files: '*.component.html', options: { parser: 'angular' } }\n ]\n};\n"],
5
- "mappings": ";AAEO,IAAM,WAAmB;AAAA,EAC9B,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW;AAAA,IACT,EAAE,OAAO,UAAU,SAAS,EAAE,QAAQ,OAAO,EAAE;AAAA,IAC/C,EAAE,OAAO,oBAAoB,SAAS,EAAE,QAAQ,UAAU,EAAE;AAAA,EAC9D;AACF;",
3
+ "sources": ["../../../../packages/lint-suite/src/lib/line-length.const.ts", "../../../../packages/lint-suite/src/prettier.ts"],
4
+ "sourcesContent": ["export const MAX_LINE_LENGTH = 135;\n", "import type { Config } from 'prettier';\n\nimport { MAX_LINE_LENGTH } from './lib/line-length.const.ts';\n\nexport const prettier: Config = {\n singleQuote: true,\n semi: true,\n tabWidth: 2,\n printWidth: MAX_LINE_LENGTH,\n trailingComma: 'none',\n bracketSpacing: true,\n bracketSameLine: true,\n arrowParens: 'always',\n endOfLine: 'lf',\n overrides: [\n { files: '*.html', options: { parser: 'html' } },\n { files: '*.component.html', options: { parser: 'angular' } }\n ]\n};\n"],
5
+ "mappings": ";AAAO,IAAM,kBAAkB;;;ACIxB,IAAM,WAAmB;AAAA,EAC9B,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW;AAAA,IACT,EAAE,OAAO,UAAU,SAAS,EAAE,QAAQ,OAAO,EAAE;AAAA,IAC/C,EAAE,OAAO,oBAAoB,SAAS,EAAE,QAAQ,UAAU,EAAE;AAAA,EAC9D;AACF;",
6
6
  "names": []
7
7
  }