79398690

Date: 2025-01-30 03:10:08
Score: 3
Natty:
Report link

The same thing happens to me but I haven't been able to solve the fact that eslint doesn't give me a custom class error with my custom classes in tailwind.config.js. How do I solve it without needing to add all my classes in a white list?

        tailwindcss: {
            config: './tailwind.config.js',
            cssFiles: [
                '**/*.css',
                '!**/node_modules',
                '!**/.*',
                '!**/dist',
                '!**/build',
            ],
            callees: ['classnames', 'clsx', 'ctl'],
            tags: ['tw'],
            classRegex: '^class(Name)?$',
            cssFilesRefreshRate: 5000,
            skipClassAttribute: false,
            exposeConfiguration: true,
            whitelist: []
Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jose