Skip to content

Commit

Permalink
fix(ui): failed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
uonr committed Aug 7, 2024
1 parent 44370d5 commit 9bad967
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ui/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)');
Expand Down

0 comments on commit 9bad967

Please sign in to comment.