From 157c169bd423518b07a74852f18f882b8be07d0a Mon Sep 17 00:00:00 2001 From: Alex Szabo Date: Fri, 25 Aug 2023 18:44:34 +0200 Subject: [PATCH] chore: add meta.hasSuggestions to @kbn/imports/no_unused_imports prevent ESLint from breaking --- .../kbn-eslint-plugin-imports/src/rules/no_unused_imports.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/kbn-eslint-plugin-imports/src/rules/no_unused_imports.ts b/packages/kbn-eslint-plugin-imports/src/rules/no_unused_imports.ts index f12e149af9f66..5818bef672faf 100644 --- a/packages/kbn-eslint-plugin-imports/src/rules/no_unused_imports.ts +++ b/packages/kbn-eslint-plugin-imports/src/rules/no_unused_imports.ts @@ -78,6 +78,7 @@ function isTsOrEslintIgnore(comment: Comment) { export const NoUnusedImportsRule: Rule.RuleModule = { meta: { + hasSuggestions: true, fixable: 'code', docs: { url: 'https://github.com/elastic/kibana/blob/main/packages/kbn-eslint-plugin-imports/README.mdx#kbnimportsno_unused_imports',