lint-suite 2.0.2 → 2.1.1
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.
- package/CHANGELOG.md +542 -0
- package/README.md +228 -57
- package/eslint.d.ts +0 -1
- package/eslint.js +735 -7125
- package/lib/angular-template.d.ts +0 -1
- package/lib/angular.d.ts +0 -1
- package/lib/base-limits.d.ts +0 -1
- package/lib/base-practices.d.ts +0 -1
- package/lib/base-recommended.d.ts +0 -1
- package/lib/base.d.ts +0 -1
- package/lib/boundaries.d.ts +0 -1
- package/lib/javascript.d.ts +0 -1
- package/lib/json.d.ts +0 -1
- package/lib/line-length.const.d.ts +0 -1
- package/lib/playwright.d.ts +0 -1
- package/lib/prettier.d.ts +0 -1
- package/lib/rxjs.d.ts +0 -1
- package/lib/storybook.d.ts +0 -1
- package/lib/typescript-consistency.d.ts +0 -1
- package/lib/typescript-imports.d.ts +0 -1
- package/lib/typescript-local-plugin.d.ts +2 -2
- package/lib/typescript-overrides.d.ts +0 -1
- package/lib/typescript-recommended.d.ts +0 -1
- package/lib/typescript-safety.d.ts +0 -1
- package/lib/typescript.d.ts +0 -1
- package/lib/vitest.d.ts +0 -1
- package/package.json +30 -20
- package/prettier.d.ts +0 -1
- package/prettier.js +0 -1
- package/stylelint.d.ts +0 -1
- package/stylelint.js +11 -937
- package/eslint.cjs +0 -7376
- package/eslint.cjs.map +0 -7
- package/eslint.d.ts.map +0 -1
- package/eslint.js.map +0 -7
- package/lib/angular-template.d.ts.map +0 -1
- package/lib/angular.d.ts.map +0 -1
- package/lib/base-limits.d.ts.map +0 -1
- package/lib/base-practices.d.ts.map +0 -1
- package/lib/base-recommended.d.ts.map +0 -1
- package/lib/base.d.ts.map +0 -1
- package/lib/boundaries.d.ts.map +0 -1
- package/lib/javascript.d.ts.map +0 -1
- package/lib/json.d.ts.map +0 -1
- package/lib/line-length.const.d.ts.map +0 -1
- package/lib/playwright.d.ts.map +0 -1
- package/lib/prettier.d.ts.map +0 -1
- package/lib/rules/arrow-body-fits-line/arrow-body-fits-line.d.ts +0 -6
- package/lib/rules/arrow-body-fits-line/arrow-body-fits-line.d.ts.map +0 -1
- package/lib/rules/chain-fits-line/chain-fits-line.d.ts +0 -6
- package/lib/rules/chain-fits-line/chain-fits-line.d.ts.map +0 -1
- package/lib/rules/chain-receiver-is-name/chain-receiver-is-name.d.ts +0 -7
- package/lib/rules/chain-receiver-is-name/chain-receiver-is-name.d.ts.map +0 -1
- package/lib/rules/common/class-usage.type.d.ts +0 -26
- package/lib/rules/common/class-usage.type.d.ts.map +0 -1
- package/lib/rules/common/file-cache.type.d.ts +0 -11
- package/lib/rules/common/file-cache.type.d.ts.map +0 -1
- package/lib/rules/common/glob-matcher.type.d.ts +0 -2
- package/lib/rules/common/glob-matcher.type.d.ts.map +0 -1
- package/lib/rules/component-metadata.d.ts +0 -3
- package/lib/rules/component-metadata.d.ts.map +0 -1
- package/lib/rules/define-plugin.util.d.ts +0 -6
- package/lib/rules/define-plugin.util.d.ts.map +0 -1
- package/lib/rules/explicit-accessibility/common/explicit-accessibility.const.d.ts +0 -6
- package/lib/rules/explicit-accessibility/common/explicit-accessibility.const.d.ts.map +0 -1
- package/lib/rules/explicit-accessibility/common/explicit-accessibility.type.d.ts +0 -17
- package/lib/rules/explicit-accessibility/common/explicit-accessibility.type.d.ts.map +0 -1
- package/lib/rules/explicit-accessibility/explicit-accessibility.d.ts +0 -7
- package/lib/rules/explicit-accessibility/explicit-accessibility.d.ts.map +0 -1
- package/lib/rules/file-cache.d.ts +0 -14
- package/lib/rules/file-cache.d.ts.map +0 -1
- package/lib/rules/max-condition-operands/max-condition-operands.d.ts +0 -10
- package/lib/rules/max-condition-operands/max-condition-operands.d.ts.map +0 -1
- package/lib/rules/no-call-in-condition/common/no-call-in-condition.const.d.ts +0 -6
- package/lib/rules/no-call-in-condition/common/no-call-in-condition.const.d.ts.map +0 -1
- package/lib/rules/no-call-in-condition/common/no-call-in-condition.type.d.ts +0 -21
- package/lib/rules/no-call-in-condition/common/no-call-in-condition.type.d.ts.map +0 -1
- package/lib/rules/no-call-in-condition/no-call-in-condition.d.ts +0 -7
- package/lib/rules/no-call-in-condition/no-call-in-condition.d.ts.map +0 -1
- package/lib/rules/no-call-in-condition/utils/call-exemptions.util.d.ts +0 -4
- package/lib/rules/no-call-in-condition/utils/call-exemptions.util.d.ts.map +0 -1
- package/lib/rules/no-call-in-condition/utils/condition-calls.util.d.ts +0 -7
- package/lib/rules/no-call-in-condition/utils/condition-calls.util.d.ts.map +0 -1
- package/lib/rules/no-grouped-condition/no-grouped-condition.d.ts +0 -7
- package/lib/rules/no-grouped-condition/no-grouped-condition.d.ts.map +0 -1
- package/lib/rules/no-inline-object-types/no-inline-object-types.d.ts +0 -6
- package/lib/rules/no-inline-object-types/no-inline-object-types.d.ts.map +0 -1
- package/lib/rules/no-inline-return-object/no-inline-return-object.d.ts +0 -6
- package/lib/rules/no-inline-return-object/no-inline-return-object.d.ts.map +0 -1
- package/lib/rules/no-nested-object-value/common/no-nested-object-value.const.d.ts +0 -5
- package/lib/rules/no-nested-object-value/common/no-nested-object-value.const.d.ts.map +0 -1
- package/lib/rules/no-nested-object-value/common/no-nested-object-value.type.d.ts +0 -7
- package/lib/rules/no-nested-object-value/common/no-nested-object-value.type.d.ts.map +0 -1
- package/lib/rules/no-nested-object-value/no-nested-object-value.d.ts +0 -7
- package/lib/rules/no-nested-object-value/no-nested-object-value.d.ts.map +0 -1
- package/lib/rules/no-nested-object-value/utils/decorator-config.util.d.ts +0 -3
- package/lib/rules/no-nested-object-value/utils/decorator-config.util.d.ts.map +0 -1
- package/lib/rules/no-spread-expression/no-spread-expression.d.ts +0 -6
- package/lib/rules/no-spread-expression/no-spread-expression.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/common/no-unstyled-classes.type.d.ts +0 -33
- package/lib/rules/no-unstyled-classes/common/no-unstyled-classes.type.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/no-unstyled-classes.d.ts +0 -8
- package/lib/rules/no-unstyled-classes/no-unstyled-classes.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/styles/component-stylesheets.d.ts +0 -4
- package/lib/rules/no-unstyled-classes/styles/component-stylesheets.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/styles/linked-stylesheets.d.ts +0 -3
- package/lib/rules/no-unstyled-classes/styles/linked-stylesheets.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-classes.d.ts +0 -3
- package/lib/rules/no-unstyled-classes/styles/stylesheet-classes.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-collection.d.ts +0 -4
- package/lib/rules/no-unstyled-classes/styles/stylesheet-collection.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-imports.d.ts +0 -2
- package/lib/rules/no-unstyled-classes/styles/stylesheet-imports.d.ts.map +0 -1
- package/lib/rules/no-unstyled-classes/styles/template-stylesheets.d.ts +0 -3
- package/lib/rules/no-unstyled-classes/styles/template-stylesheets.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-component-discovery.d.ts +0 -5
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-component-discovery.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-component-scope.d.ts +0 -9
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-component-scope.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-decorator-kind.d.ts +0 -10
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-decorator-kind.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-directive-index.d.ts +0 -9
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-directive-index.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-metadata-values.d.ts +0 -12
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-metadata-values.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-resolved-path.d.ts +0 -3
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-resolved-path.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-chains.d.ts +0 -17
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-chains.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-resolution.d.ts +0 -7
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-read-resolution.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-reads.d.ts +0 -6
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-reads.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-references.d.ts +0 -5
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-references.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts +0 -52
- package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.d.ts +0 -105
- package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-usage.type.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-file-entry.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-file-entry.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.d.ts +0 -5
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-classes.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.d.ts +0 -14
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-staleness.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.d.ts +0 -18
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-usage.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-angular-interface-methods.d.ts +0 -8
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-angular-interface-methods.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-assignment-pattern-elements.d.ts +0 -5
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-assignment-pattern-elements.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-binding-pattern-elements.d.ts +0 -6
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-binding-pattern-elements.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-candidate-names.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-candidate-names.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-destructuring-reads.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-destructuring-reads.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-reads.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-reads.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-symbol-reads.d.ts +0 -8
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-symbol-reads.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-type-dependencies.d.ts +0 -3
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-type-dependencies.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-write-targets.d.ts +0 -7
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-write-targets.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/class-members.util.d.ts +0 -10
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/class-members.util.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/read-chain-text.util.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/read-chain-text.util.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/spec-file.util.d.ts +0 -2
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/spec-file.util.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/type-property-symbols.util.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/project-usage/utils/type-property-symbols.util.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-class-fields.d.ts +0 -3
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-class-fields.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-expression-reads.d.ts +0 -6
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-expression-reads.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-imports.d.ts +0 -9
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-imports.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-managed-fields.d.ts +0 -5
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-managed-fields.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-member-candidates.d.ts +0 -6
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-member-candidates.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-literals.d.ts +0 -5
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-literals.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-reads.d.ts +0 -9
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-reads.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-template-parsing.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-template-parsing.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.d.ts +0 -55
- package/lib/rules/no-unused-angular-instance-fields/rule/common/no-unused-angular-instance-fields.type.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.d.ts +0 -8
- package/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-class-read-visitor.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-class-read-visitor.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-field-reads.d.ts +0 -8
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-field-reads.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-lexical-this.d.ts +0 -3
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-lexical-this.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-write-targets.d.ts +0 -3
- package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-write-targets.d.ts.map +0 -1
- package/lib/rules/no-unused-angular-instance-fields/utils/angular-read-target.util.d.ts +0 -4
- package/lib/rules/no-unused-angular-instance-fields/utils/angular-read-target.util.d.ts.map +0 -1
- package/lib/rules/no-unused-classes/common/no-unused-classes.type.d.ts +0 -24
- package/lib/rules/no-unused-classes/common/no-unused-classes.type.d.ts.map +0 -1
- package/lib/rules/no-unused-classes/no-unused-classes.d.ts +0 -8
- package/lib/rules/no-unused-classes/no-unused-classes.d.ts.map +0 -1
- package/lib/rules/no-unused-classes/styles/linked-templates.d.ts +0 -9
- package/lib/rules/no-unused-classes/styles/linked-templates.d.ts.map +0 -1
- package/lib/rules/no-unused-classes/styles/stylesheet-components.d.ts +0 -3
- package/lib/rules/no-unused-classes/styles/stylesheet-components.d.ts.map +0 -1
- package/lib/rules/no-unused-classes/template/template-usage.d.ts +0 -3
- package/lib/rules/no-unused-classes/template/template-usage.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/common/no-unused-exports.const.d.ts +0 -7
- package/lib/rules/no-unused-exports/common/no-unused-exports.const.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts +0 -70
- package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/export-index.d.ts +0 -6
- package/lib/rules/no-unused-exports/export-index.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/no-unused-exports.d.ts +0 -7
- package/lib/rules/no-unused-exports/no-unused-exports.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/report-unused-exports.d.ts +0 -12
- package/lib/rules/no-unused-exports/report-unused-exports.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/aggregate-update.util.d.ts +0 -4
- package/lib/rules/no-unused-exports/utils/aggregate-update.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/export-edges.util.d.ts +0 -5
- package/lib/rules/no-unused-exports/utils/export-edges.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/export-nodes.util.d.ts +0 -5
- package/lib/rules/no-unused-exports/utils/export-nodes.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/export-usage.util.d.ts +0 -4
- package/lib/rules/no-unused-exports/utils/export-usage.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/exported-names.util.d.ts +0 -3
- package/lib/rules/no-unused-exports/utils/exported-names.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/file-changes.util.d.ts +0 -4
- package/lib/rules/no-unused-exports/utils/file-changes.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts +0 -4
- package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/module-target.util.d.ts +0 -4
- package/lib/rules/no-unused-exports/utils/module-target.util.d.ts.map +0 -1
- package/lib/rules/no-unused-exports/utils/public-exports.util.d.ts +0 -3
- package/lib/rules/no-unused-exports/utils/public-exports.util.d.ts.map +0 -1
- package/lib/rules/one-line-guard/one-line-guard.d.ts +0 -10
- package/lib/rules/one-line-guard/one-line-guard.d.ts.map +0 -1
- package/lib/rules/readonly-type-properties/readonly-type-properties.d.ts +0 -7
- package/lib/rules/readonly-type-properties/readonly-type-properties.d.ts.map +0 -1
- package/lib/rules/selector-classes.d.ts +0 -7
- package/lib/rules/selector-classes.d.ts.map +0 -1
- package/lib/rules/ternary-branch-shape/ternary-branch-shape.d.ts +0 -6
- package/lib/rules/ternary-branch-shape/ternary-branch-shape.d.ts.map +0 -1
- package/lib/rules/test-file-shape/common/test-file-shape.const.d.ts +0 -14
- package/lib/rules/test-file-shape/common/test-file-shape.const.d.ts.map +0 -1
- package/lib/rules/test-file-shape/common/test-file-shape.type.d.ts +0 -7
- package/lib/rules/test-file-shape/common/test-file-shape.type.d.ts.map +0 -1
- package/lib/rules/test-file-shape/mock-exports.d.ts +0 -7
- package/lib/rules/test-file-shape/mock-exports.d.ts.map +0 -1
- package/lib/rules/test-file-shape/stub-exports.d.ts +0 -7
- package/lib/rules/test-file-shape/stub-exports.d.ts.map +0 -1
- package/lib/rules/test-file-shape/test-file-shape.d.ts +0 -7
- package/lib/rules/test-file-shape/test-file-shape.d.ts.map +0 -1
- package/lib/rules/type-placement/common/type-placement.const.d.ts +0 -5
- package/lib/rules/type-placement/common/type-placement.const.d.ts.map +0 -1
- package/lib/rules/type-placement/common/type-placement.type.d.ts +0 -7
- package/lib/rules/type-placement/common/type-placement.type.d.ts.map +0 -1
- package/lib/rules/type-placement/type-placement.d.ts +0 -7
- package/lib/rules/type-placement/type-placement.d.ts.map +0 -1
- package/lib/rules/util-purity/common/util-purity.const.d.ts +0 -10
- package/lib/rules/util-purity/common/util-purity.const.d.ts.map +0 -1
- package/lib/rules/util-purity/common/util-purity.type.d.ts +0 -7
- package/lib/rules/util-purity/common/util-purity.type.d.ts.map +0 -1
- package/lib/rules/util-purity/util-purity.d.ts +0 -7
- package/lib/rules/util-purity/util-purity.d.ts.map +0 -1
- package/lib/rules/utils/class-expression-literals.util.d.ts +0 -4
- package/lib/rules/utils/class-expression-literals.util.d.ts.map +0 -1
- package/lib/rules/utils/enclosing-statement.util.d.ts +0 -3
- package/lib/rules/utils/enclosing-statement.util.d.ts.map +0 -1
- package/lib/rules/utils/glob-matcher.util.d.ts +0 -3
- package/lib/rules/utils/glob-matcher.util.d.ts.map +0 -1
- package/lib/rules/utils/indent-of.util.d.ts +0 -3
- package/lib/rules/utils/indent-of.util.d.ts.map +0 -1
- package/lib/rules/utils/resolved-rules.util.d.ts +0 -5
- package/lib/rules/utils/resolved-rules.util.d.ts.map +0 -1
- package/lib/rules/utils/template-classes.util.d.ts +0 -5
- package/lib/rules/utils/template-classes.util.d.ts.map +0 -1
- package/lib/rules/utils/template-links.util.d.ts +0 -2
- package/lib/rules/utils/template-links.util.d.ts.map +0 -1
- package/lib/rules/utils/to-regexp.util.d.ts +0 -2
- package/lib/rules/utils/to-regexp.util.d.ts.map +0 -1
- package/lib/rxjs.d.ts.map +0 -1
- package/lib/storybook.d.ts.map +0 -1
- package/lib/typescript-consistency.d.ts.map +0 -1
- package/lib/typescript-imports.d.ts.map +0 -1
- package/lib/typescript-local-plugin.d.ts.map +0 -1
- package/lib/typescript-overrides.d.ts.map +0 -1
- package/lib/typescript-recommended.d.ts.map +0 -1
- package/lib/typescript-safety.d.ts.map +0 -1
- package/lib/typescript.d.ts.map +0 -1
- package/lib/vitest.d.ts.map +0 -1
- package/prettier.cjs +0 -50
- package/prettier.cjs.map +0 -7
- package/prettier.d.ts.map +0 -1
- package/prettier.js.map +0 -7
- package/stylelint.cjs +0 -968
- package/stylelint.cjs.map +0 -7
- package/stylelint.d.ts.map +0 -1
- package/stylelint.js.map +0 -7
package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-reads.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { MetadataReadsOptions } from '../common/no-unused-angular-instance-fields.type.ts';
|
|
2
|
-
/**
|
|
3
|
-
* Names read by a class's host bindings and, for components, its template.
|
|
4
|
-
* Returns null when the metadata cannot be read statically; with
|
|
5
|
-
* `requireTemplate` false an unreadable template keeps the host reads
|
|
6
|
-
* instead, for callers that resolve template reads elsewhere.
|
|
7
|
-
*/
|
|
8
|
-
export declare const metadataReads: (options: MetadataReadsOptions) => Set<string> | null;
|
|
9
|
-
//# sourceMappingURL=angular-metadata-reads.d.ts.map
|
package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-reads.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"angular-metadata-reads.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-metadata-reads.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAwGhG;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GACxB,SAAS,oBAAoB,KAC5B,GAAG,CAAC,MAAM,CAAC,GAAG,IA+BhB,CAAC"}
|
package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-template-parsing.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const templateReads: (template: string, filename: string) => Set<string> | null;
|
|
2
|
-
export declare const externalTemplateReads: (filename: string) => Set<string> | null;
|
|
3
|
-
export declare const expressionReads: (expression: string, filename: string, action: boolean) => Set<string> | null;
|
|
4
|
-
//# sourceMappingURL=angular-template-parsing.d.ts.map
|
package/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-template-parsing.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"angular-template-parsing.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/angular/angular-template-parsing.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,aAAa,GACxB,UAAU,MAAM,EAChB,UAAU,MAAM,KACf,GAAG,CAAC,MAAM,CAAC,GAAG,IAchB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,UAAU,MAAM,KAAG,GAAG,CAAC,MAAM,CAAC,GAAG,IAgBtE,CAAC;AAYF,eAAO,MAAM,eAAe,GAC1B,YAAY,MAAM,EAClB,UAAU,MAAM,EAChB,QAAQ,OAAO,KACd,GAAG,CAAC,MAAM,CAAC,GAAG,IAahB,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
|
|
2
|
-
export type AngularClassNode = TSESTree.ClassDeclaration | TSESTree.ClassExpression;
|
|
3
|
-
export type AngularImport = string | null;
|
|
4
|
-
export type AngularImports = Map<string, AngularImport>;
|
|
5
|
-
export type RuleOptions = {
|
|
6
|
-
readonly allowEffectFields?: boolean;
|
|
7
|
-
readonly analysis?: 'local' | 'project';
|
|
8
|
-
};
|
|
9
|
-
export type MessageIds = 'unusedField' | 'unusedMethod';
|
|
10
|
-
export type RuleContext = Readonly<TSESLint.RuleContext<MessageIds, [RuleOptions]>>;
|
|
11
|
-
export type ReportContext = Pick<RuleContext, 'filename' | 'report' | 'sourceCode'>;
|
|
12
|
-
export type ProjectMemberUsed = (node: TSESTree.ClassElement) => boolean;
|
|
13
|
-
export type ClassEntry = {
|
|
14
|
-
readonly node: AngularClassNode;
|
|
15
|
-
readonly reads: Set<string>;
|
|
16
|
-
};
|
|
17
|
-
export type DynamicClasses = Set<ClassEntry>;
|
|
18
|
-
export type AngularClassMetadata = {
|
|
19
|
-
readonly component: boolean;
|
|
20
|
-
readonly metadata: TSESTree.ObjectExpression;
|
|
21
|
-
};
|
|
22
|
-
type IdentifierKey = {
|
|
23
|
-
readonly key: TSESTree.Identifier;
|
|
24
|
-
};
|
|
25
|
-
export type InstanceField = TSESTree.PropertyDefinition & IdentifierKey;
|
|
26
|
-
export type InstanceMethod = TSESTree.MethodDefinition & IdentifierKey;
|
|
27
|
-
export type MemberCandidate = {
|
|
28
|
-
readonly messageId: MessageIds;
|
|
29
|
-
readonly name: string;
|
|
30
|
-
readonly node: InstanceField | InstanceMethod;
|
|
31
|
-
};
|
|
32
|
-
export type FieldCandidateOptions = {
|
|
33
|
-
readonly allowEffectFields: boolean;
|
|
34
|
-
readonly imports: AngularImports;
|
|
35
|
-
readonly localPrivateOnly: boolean;
|
|
36
|
-
readonly sourceCode: TSESLint.SourceCode;
|
|
37
|
-
};
|
|
38
|
-
export type MetadataReadsOptions = {
|
|
39
|
-
readonly component: boolean;
|
|
40
|
-
readonly filename: string;
|
|
41
|
-
readonly metadata: TSESTree.ObjectExpression;
|
|
42
|
-
readonly remainingNames: string[];
|
|
43
|
-
readonly requireTemplate: boolean;
|
|
44
|
-
};
|
|
45
|
-
export type ReportUnusedMembersOptions = {
|
|
46
|
-
readonly allowEffectFields: boolean;
|
|
47
|
-
readonly classes: ClassEntry[];
|
|
48
|
-
readonly context: ReportContext;
|
|
49
|
-
readonly dynamicClasses: DynamicClasses;
|
|
50
|
-
readonly imports: AngularImports;
|
|
51
|
-
readonly projectIndexed: () => boolean;
|
|
52
|
-
readonly projectMemberUsed: ProjectMemberUsed | undefined;
|
|
53
|
-
};
|
|
54
|
-
export {};
|
|
55
|
-
//# sourceMappingURL=no-unused-angular-instance-fields.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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":"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"}
|
package/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
|
-
import type { MessageIds, RuleOptions } from './common/no-unused-angular-instance-fields.type.ts';
|
|
3
|
-
type Options = [RuleOptions];
|
|
4
|
-
declare const _default: ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener> & {
|
|
5
|
-
name: string;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
//# sourceMappingURL=no-unused-angular-instance-fields.d.ts.map
|
package/lib/rules/no-unused-angular-instance-fields/rule/no-unused-angular-instance-fields.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,4 +0,0 @@
|
|
|
1
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
-
import type { ClassEntry, DynamicClasses } from '../common/no-unused-angular-instance-fields.type.ts';
|
|
3
|
-
export declare const classReadVisitor: (classes: ClassEntry[], stack: ClassEntry[], dynamicClasses: DynamicClasses) => TSESLint.RuleListener;
|
|
4
|
-
//# sourceMappingURL=typescript-class-read-visitor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-field-reads.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TSESTree } from '@typescript-eslint/utils';
|
|
2
|
-
type TypeScriptExpressionWrapper = TSESTree.TSAsExpression | TSESTree.TSInstantiationExpression | TSESTree.TSNonNullExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion;
|
|
3
|
-
type DestructuringNode = TSESTree.AssignmentExpression | TSESTree.VariableDeclarator;
|
|
4
|
-
export declare const isTypeScriptExpressionWrapper: (node: TSESTree.Node) => node is TypeScriptExpressionWrapper;
|
|
5
|
-
export declare const isThisExpression: (node: TSESTree.Expression | null) => boolean;
|
|
6
|
-
export declare const destructuredThisReads: (node: DestructuringNode) => string[] | null | undefined;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=typescript-field-reads.d.ts.map
|
package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-field-reads.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-field-reads.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-field-reads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,KAAK,2BAA2B,GAC5B,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,yBAAyB,GAClC,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,qBAAqB,GAC9B,QAAQ,CAAC,eAAe,CAAC;AAE7B,KAAK,iBAAiB,GACpB,QAAQ,CAAC,oBAAoB,GAAG,QAAQ,CAAC,kBAAkB,CAAC;AAe9D,eAAO,MAAM,6BAA6B,GACxC,MAAM,QAAQ,CAAC,IAAI,KAClB,IAAI,IAAI,2BAEV,CAAC;AAcF,eAAO,MAAM,gBAAgB,GAAI,MAAM,QAAQ,CAAC,UAAU,GAAG,IAAI,KAAG,OAInE,CAAC;AA4CF,eAAO,MAAM,qBAAqB,GAChC,MAAM,iBAAiB,KACtB,MAAM,EAAE,GAAG,IAAI,GAAG,SAwBpB,CAAC"}
|
package/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-lexical-this.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-lexical-this.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-lexical-this.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAmBzD,eAAO,MAAM,kBAAkB,GAC7B,WAAW,OAAO,EAAE,KACnB,QAAQ,CAAC,YAuCX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-write-targets.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/rule/typescript/typescript-write-targets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AA0HpD,eAAO,MAAM,WAAW,GAAI,MAAM,QAAQ,CAAC,gBAAgB,KAAG,OAM7D,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { KeyedRead, PropertyRead, SafeKeyedRead, SafePropertyRead } from '@angular/compiler';
|
|
2
|
-
import type { AST } from '@angular/compiler';
|
|
3
|
-
export declare const isReadTarget: (node: AST) => node is PropertyRead | SafePropertyRead | KeyedRead | SafeKeyedRead;
|
|
4
|
-
//# sourceMappingURL=angular-read-target.util.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"angular-read-target.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-angular-instance-fields/utils/angular-read-target.util.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,aAAa,EACb,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAE7C,eAAO,MAAM,YAAY,GACvB,MAAM,GAAG,KACR,IAAI,IAAI,YAAY,GAAG,gBAAgB,GAAG,SAAS,GAAG,aAOxD,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { ClassMatcher } from '../../common/class-usage.type.ts';
|
|
2
|
-
export type RuleOptions = {
|
|
3
|
-
readonly ignoreClassPatterns: string[];
|
|
4
|
-
};
|
|
5
|
-
type FileTemplate = {
|
|
6
|
-
readonly kind: 'file';
|
|
7
|
-
readonly path: string;
|
|
8
|
-
};
|
|
9
|
-
type InlineTemplate = {
|
|
10
|
-
readonly kind: 'inline';
|
|
11
|
-
readonly source: string;
|
|
12
|
-
readonly path: string;
|
|
13
|
-
};
|
|
14
|
-
type UnknownTemplate = {
|
|
15
|
-
readonly kind: 'unknown';
|
|
16
|
-
};
|
|
17
|
-
export type TemplateSource = FileTemplate | InlineTemplate | UnknownTemplate;
|
|
18
|
-
export type TemplateUsage = {
|
|
19
|
-
readonly has: ClassMatcher;
|
|
20
|
-
readonly isDynamic: boolean;
|
|
21
|
-
readonly size: number;
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=no-unused-classes.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-unused-classes.type.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-classes/common/no-unused-classes.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,mBAAmB,EAAE,MAAM,EAAE,CAAC;CACxC,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,cAAc,GAAG,eAAe,CAAC;AAE7E,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,GAAG,EAAE,YAAY,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Plugin } from 'stylelint';
|
|
2
|
-
export declare const ruleName = "lint-suite/no-unused-classes";
|
|
3
|
-
export declare const messages: {
|
|
4
|
-
rejected: (name: string) => string;
|
|
5
|
-
};
|
|
6
|
-
declare const plugin: Plugin;
|
|
7
|
-
export default plugin;
|
|
8
|
-
//# sourceMappingURL=no-unused-classes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAyB1E,eAAO,MAAM,QAAQ,iCAAiC,CAAC;AAOvD,eAAO,MAAM,QAAQ;qBALG,MAAM,KAAG,MAAM;CAK2B,CAAC;AAqKnE,QAAA,MAAM,MAAM,EAAE,MAAgD,CAAC;AAE/D,eAAe,MAAM,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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":"AA0BA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACd,MAAM,qCAAqC,CAAC;AA+G7C,eAAO,MAAM,aAAa,GAAI,SAAS,cAAc,EAAE,KAAG,aAuBzD,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":[],"mappings":"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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,7 +0,0 @@
|
|
|
1
|
-
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
|
-
type MessageIds = 'missingReadonly' | 'readonlyArray';
|
|
3
|
-
declare const _default: ESLintUtils.RuleModule<MessageIds, [], unknown, ESLintUtils.RuleListener> & {
|
|
4
|
-
name: string;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
//# sourceMappingURL=readonly-type-properties.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|