-
-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Eslint reports invalid linting errors. The reported classes do exist and they properly work with one minor version less.
9:10 error Classname 'hero' is not a Tailwind CSS class! tailwindcss/no-custom-classname
10:12 error Classname 'hero-content' is not a Tailwind CSS class! tailwindcss/no-custom-classname
20:15 error Classname '!link' is not a Tailwind CSS class! tailwindcss/no-custom-classname
To Reproduce
Steps to reproduce the behavior:
- Install and setup tailwind with some third party plugin like [daisyui](https://daisyui.com/]
- use some of the classes provided by the plugin
- run eslint with the rule "no-custom-classname"
- See error
Environment (please complete the following information):
- Works fine with:
- nodejs: v22.11.0
- npm: 10.9.0
- Breaks with:
- nodejs: v22.12.0
- npm: 10.9.0
- Also Breaks with newer versions:
- nodejs: v23.2.0
- npm: 10.9.0
Works with very older versions:
- nodejs: v20.18.1
See: https://nodejs.org/en/about/previous-releases
Additional context
All dependency versions and their hashes didn't change at all. All other environmental influences are isolated and stable in my setup.
"node_modules/eslint-plugin-tailwindcss": "3.18.0",
"node_modules/eslint": "version": "8.57.0",
"node_modules/tailwindcss": "3.4.3"
donatoaguirre24, stramel, la55u, jannikrhode, Teresito and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working