From 9bad9677b8afa051c8953e6337be6bd07cba2908 Mon Sep 17 00:00:00 2001 From: uonr <dev@yuru.me> Date: Wed, 7 Aug 2024 22:15:34 +0900 Subject: [PATCH] fix(ui): failed lint --- packages/ui/tailwind.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/ui/tailwind.config.ts b/packages/ui/tailwind.config.ts index fae0b882..31174913 100644 --- a/packages/ui/tailwind.config.ts +++ b/packages/ui/tailwind.config.ts @@ -530,6 +530,9 @@ const config: Config = { }, }, plugins: [ + // The ESLint marks this as error, but it is following the official document. + // https://tailwindcss.com/docs/plugins + // eslint-disable-next-line @typescript-eslint/unbound-method plugin(function ({ addVariant }) { addVariant('enabled', '&:not(:disabled)'); addVariant('active-enabled', '&:is([data-active="true"],:active):not(:disabled)');