eslint-plugin-tailwindcss
Advanced tools
Comparing version 3.7.0 to 3.7.1
@@ -235,6 +235,7 @@ /** | ||
const hasY = sameVariantAndValue.some((c) => c.shorthand === 'y') || (hasT && hasB); | ||
const hasAll = | ||
sameVariantAndValue.some((c) => c.shorthand === 'all') || !supportCorners | ||
? hasY && hasX | ||
: (hasL && hasR) || (hasT && hasB); | ||
const hasAllProp = sameVariantAndValue.some((c) => c.shorthand === 'all'); | ||
const hasAllPropNoCorner = hasY && hasX; | ||
const hasAllPropWithCorners = (hasL && hasR) || (hasT && hasB); | ||
const hasAllEquivalent = !supportCorners ? hasAllPropNoCorner : hasAllPropWithCorners; | ||
const hasAll = hasAllProp || hasAllEquivalent; | ||
const important = cls.important ? '!' : ''; | ||
@@ -241,0 +242,0 @@ const isNegative = ('' + cls.value).substring(0, 1) === '-'; |
{ | ||
"name": "eslint-plugin-tailwindcss", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "Rules enforcing best practices while using Tailwind CSS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
157384
4342