Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 #212498

Open
wants to merge 45 commits into
base: main
Choose a base branch
from

Conversation

georgianaonoleata1904
Copy link
Contributor

@georgianaonoleata1904 georgianaonoleata1904 commented Feb 26, 2025

  • Enabled @typescript-eslint/consistent-type-imports eslint rule for ResponseOps packages and plugins:

    • this rule ensures that imports used only for type declarations are consistently written using import type syntax
  • fixed type imports in:

    • x-pack/platform/plugins/shared/event_log
    • x-pack/platform/plugins/shared/rule_registry
    • x-pack/platform/plugins/shared/task_manager
    • x-pack/solutions/observability/packages/kbn-alerts-grouping
    • src/platform/packages/shared/kbn-alerts-ui-shared
    • src/platform/packages/shared/kbn-alerting-types
    • src/platform/packages/shared/kbn-cases-components
    • src/platform/packages/shared/kbn-actions-types
    • src/platform/packages/shared/kbn-alerts-as-data-utils
    • src/platform/packages/shared/kbn-grouping
    • src/platform/packages/shared/kbn-rrule
    • src/platform/packages/shared/kbn-rule-data-utils
    • src/platform/packages/shared/kbn-triggers-actions-ui-types
    • x-pack/platform/packages/shared/kbn-alerting-comparators

@georgianaonoleata1904 georgianaonoleata1904 self-assigned this Mar 4, 2025
@georgianaonoleata1904 georgianaonoleata1904 added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) backport:version Backport to applied version labels v9.1.0 v8.19.0 labels Mar 4, 2025
@georgianaonoleata1904 georgianaonoleata1904 marked this pull request as ready for review March 4, 2025 09:33
@georgianaonoleata1904 georgianaonoleata1904 requested review from a team as code owners March 4, 2025 09:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@georgianaonoleata1904 georgianaonoleata1904 changed the title WIP - [ResponseOps] consistent-type-imports linting rule for RO packages/plugins [ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 Mar 4, 2025
@georgianaonoleata1904
Copy link
Contributor Author

/ci

@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 6, 2025

💔 Build Failed

Failed CI Steps

History

cc @georgianaonoleata1904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants