From 36335068beea8ae797a881182f613c1a170c0382 Mon Sep 17 00:00:00 2001 From: Robert Vitonsky Date: Fri, 25 Oct 2024 18:57:22 +0200 Subject: [PATCH] chore: satisfy type instead of set --- src/rules/alias.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rules/alias.ts b/src/rules/alias.ts index 2f29a04..f7b9350 100644 --- a/src/rules/alias.ts +++ b/src/rules/alias.ts @@ -68,7 +68,7 @@ function findAlias( // TODO: implement option to force relative path instead of alias (for remove alias case) // TODO: add tests -const rule: Rule.RuleModule = { +const rule = { meta: { fixable: 'code', schema: { @@ -157,6 +157,6 @@ const rule: Rule.RuleModule = { }, }; }, -}; +} satisfies Rule.RuleModule; export default rule;