bug: Classname 'divider' is not a Tailwind CSS class!
What version of daisyUI are you using?
4.6.2
Which browsers are you seeing the problem on?
Chrome
Reproduction URL
none
Describe your issue
Today I tried to open a project I worked on a year ago to continue development. The daisyui version at that time was v2. The project started normally and the styles also existed. However, in my eslint, it prompted that the classname related to daisyui did not exist.
This bothers me a lot. I tried upgrading the version of daisyui to the latest version, but the warning still exists.
The following is the configuration file of my tailwindcss:
Thank you @Chen-913
for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.
I assume you're using eslint-plugin-tailwindcss with no-custom-classname rule. If so, it is expected to get warning.
Disabling that rule should fix the warning.
eslint-plugin-tailwindcss docs:
https://github.com/francoismassart/eslint-plugin-tailwindcss
Also make sure you're using the latest version:
https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/129
And finally, this is warning from your linter plugin so probably asking about it in the related repo would be more helpful.