github francoismassart/eslint-plugin-tailwindcss v1.4.0
Support `CallExpression`

latest releases: v3.6.2, v3.6.1, v3.6.0...
3 years ago

You can parse TemplateLiteral string used as argument in a CallExpression.
The callee's name must be whitelisted, the default config accepts ctl aka the tiny utility classnames-template-literals from netlify.

You can specify one or more callee names by setting the callees option which expects an array of strings.

Only works for the classnames-order rule for now

FIXES

  • [BUG] Single quotes are replaced by double quotes #4

MINOR

  • Formatted code using Prettier
  • Refact
  • schema meta

Don't miss a new eslint-plugin-tailwindcss release

NewReleases is sending notifications on new releases.