francoismassart / eslint-plugin-tailwindcss

ESLint plugin for Tailwind CSS usage
https://www.npmjs.com/package/eslint-plugin-tailwindcss
MIT License
1.47k stars 70 forks source link

[BUG] Incorrect ESLint Error for Valid Tailwind CSS Class 'min-h-dvh' #310

Closed jeongnaehyeok closed 8 months ago

jeongnaehyeok commented 8 months ago

Describe the bug The ESLint plugin for TailwindCSS is flagging valid Tailwind CSS class names as errors. Specifically, it is indicating that the class 'min-h-dvh' is not a valid Tailwind CSS class.

To Reproduce Steps to reproduce the behavior:

  1. Install eslint-plugin-tailwindcss
  2. Configure ESLint to use the TailwindCSS plugin
  3. Write CSS with the class min-h-dvh
  4. See the ESLint error that min-h-dvh is not a valid class

Expected behavior The min-h-dvh class is a valid Tailwind CSS class and should not be flagged as an error by the ESLint plugin. https://tailwindcss.com/docs/min-height

Screenshots

스크린샷 2024-01-17 오후 3 56 00
jeongnaehyeok commented 8 months ago

sorry. It was a version issue.