eslint-plugin-tailwindcss
Advanced tools
Comparing version 3.17.4 to 3.17.5
@@ -124,3 +124,2 @@ /** | ||
return true; | ||
break; | ||
default: | ||
@@ -222,6 +221,4 @@ return false; | ||
return node.value.expression.elements; | ||
break; | ||
case 'ObjectExpression': | ||
return node.value.expression.properties; | ||
break; | ||
} | ||
@@ -307,3 +304,3 @@ return node.value.expression.value; | ||
childNode.properties.forEach((prop) => { | ||
const isUsedByClassNamesPlugin = rootNode.callee && rootNode.callee.name === 'classnames'; | ||
const isUsedByClassNamesPlugin = (rootNode.callee && rootNode.callee.name === 'classnames') || rootNode.type === 'VAttribute'; | ||
@@ -310,0 +307,0 @@ if (prop.type === 'SpreadElement') { |
{ | ||
"name": "eslint-plugin-tailwindcss", | ||
"version": "3.17.4", | ||
"version": "3.17.5", | ||
"description": "Rules enforcing best practices while using Tailwind CSS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -44,2 +44,3 @@ # eslint-plugin-tailwindcss | ||
- fix: [custom classnames rule with VueJS objects within list](https://github.com/francoismassart/eslint-plugin-tailwindcss/pull/359) (by [Ericlm](https://github.com/Ericlm) π) | ||
- fix: config loading cache | ||
@@ -46,0 +47,0 @@ - fix: Avoid re-parsing unchanged CSS files |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
217445
305
5527