[ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 #212498
Merged
georgianaonoleata1904 merged 93 commits intoelastic:mainfrom Mar 28, 2025
Merged
Conversation
…kbn-triggers-actions-ui-types
…naonoleata1904/kibana into type-imports-eslint-ro-3
Contributor
|
Pinging @elastic/response-ops (Team:ResponseOps) |
…naonoleata1904/kibana into type-imports-eslint-ro-3
Contributor
💚 Build Succeeded
Metrics [docs]
History
|
Contributor
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/14130559741 |
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
georgianaonoleata1904
added a commit
to georgianaonoleata1904/kibana
that referenced
this pull request
Mar 28, 2025
…gins - PR3 (elastic#212498) - 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 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 5a6c01f) # Conflicts: # x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts # x-pack/platform/plugins/shared/event_log/server/event_log_client.ts # x-pack/platform/plugins/shared/event_log/server/types.ts # x-pack/platform/plugins/shared/rule_registry/common/types.ts # x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts # x-pack/platform/plugins/shared/rule_registry/server/routes/find.ts # x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.ts # x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts # x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts # x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts # x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.ts # x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts # x-pack/platform/plugins/shared/task_manager/server/lib/get_es_and_so_availability.test.ts # x-pack/platform/plugins/shared/task_manager/server/lib/get_es_and_so_availability.ts # x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.ts # x-pack/platform/plugins/shared/task_manager/server/monitoring/index.ts # x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.ts # x-pack/platform/plugins/shared/task_manager/server/plugin.test.ts # x-pack/platform/plugins/shared/task_manager/server/plugin.ts # x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.ts # x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts # x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts # x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts # x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts # x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/task_model_versions.ts # x-pack/platform/plugins/shared/task_manager/server/task_events.ts # x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts # x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
georgianaonoleata1904
added a commit
that referenced
this pull request
Mar 31, 2025
…es/plugins - PR3 (#212498) (#216311) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 (#212498)](#212498) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Georgiana-Andreea Onoleață","email":"georgiana.onoleata@elastic.co"},"sourceCommit":{"committedDate":"2025-03-28T13:56:46Z","message":"[ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 (#212498)\n\n- Enabled @typescript-eslint/consistent-type-imports eslint rule for\nResponseOps packages and plugins:\n- this rule ensures that imports used only for type declarations are\nconsistently written using import type syntax\n \n- fixed type imports in:\n - x-pack/platform/plugins/shared/event_log\n - x-pack/platform/plugins/shared/rule_registry\n - x-pack/platform/plugins/shared/task_manager\n - x-pack/solutions/observability/packages/kbn-alerts-grouping\n - src/platform/packages/shared/kbn-alerts-ui-shared\n - src/platform/packages/shared/kbn-alerting-types\n - src/platform/packages/shared/kbn-cases-components\n - src/platform/packages/shared/kbn-actions-types\n - src/platform/packages/shared/kbn-alerts-as-data-utils\n - src/platform/packages/shared/kbn-grouping\n - src/platform/packages/shared/kbn-rrule\n - src/platform/packages/shared/kbn-rule-data-utils\n - src/platform/packages/shared/kbn-triggers-actions-ui-types\n - x-pack/platform/packages/shared/kbn-alerting-comparators\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5a6c01ff82cbc5038df5d20f65918d6b1aba27c6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","backport:version","v9.1.0","v8.19.0"],"title":"[ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 ","number":212498,"url":"https://github.com/elastic/kibana/pull/212498","mergeCommit":{"message":"[ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 (#212498)\n\n- Enabled @typescript-eslint/consistent-type-imports eslint rule for\nResponseOps packages and plugins:\n- this rule ensures that imports used only for type declarations are\nconsistently written using import type syntax\n \n- fixed type imports in:\n - x-pack/platform/plugins/shared/event_log\n - x-pack/platform/plugins/shared/rule_registry\n - x-pack/platform/plugins/shared/task_manager\n - x-pack/solutions/observability/packages/kbn-alerts-grouping\n - src/platform/packages/shared/kbn-alerts-ui-shared\n - src/platform/packages/shared/kbn-alerting-types\n - src/platform/packages/shared/kbn-cases-components\n - src/platform/packages/shared/kbn-actions-types\n - src/platform/packages/shared/kbn-alerts-as-data-utils\n - src/platform/packages/shared/kbn-grouping\n - src/platform/packages/shared/kbn-rrule\n - src/platform/packages/shared/kbn-rule-data-utils\n - src/platform/packages/shared/kbn-triggers-actions-ui-types\n - x-pack/platform/packages/shared/kbn-alerting-comparators\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5a6c01ff82cbc5038df5d20f65918d6b1aba27c6"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212498","number":212498,"mergeCommit":{"message":"[ResponseOps]consistent-type-imports linting rule for RO packages/plugins - PR3 (#212498)\n\n- Enabled @typescript-eslint/consistent-type-imports eslint rule for\nResponseOps packages and plugins:\n- this rule ensures that imports used only for type declarations are\nconsistently written using import type syntax\n \n- fixed type imports in:\n - x-pack/platform/plugins/shared/event_log\n - x-pack/platform/plugins/shared/rule_registry\n - x-pack/platform/plugins/shared/task_manager\n - x-pack/solutions/observability/packages/kbn-alerts-grouping\n - src/platform/packages/shared/kbn-alerts-ui-shared\n - src/platform/packages/shared/kbn-alerting-types\n - src/platform/packages/shared/kbn-cases-components\n - src/platform/packages/shared/kbn-actions-types\n - src/platform/packages/shared/kbn-alerts-as-data-utils\n - src/platform/packages/shared/kbn-grouping\n - src/platform/packages/shared/kbn-rrule\n - src/platform/packages/shared/kbn-rule-data-utils\n - src/platform/packages/shared/kbn-triggers-actions-ui-types\n - x-pack/platform/packages/shared/kbn-alerting-comparators\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5a6c01ff82cbc5038df5d20f65918d6b1aba27c6"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
cqliu1
pushed a commit
to cqliu1/kibana
that referenced
this pull request
Mar 31, 2025
…gins - PR3 (elastic#212498) - 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 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enabled @typescript-eslint/consistent-type-imports eslint rule for ResponseOps packages and plugins:
fixed type imports in: