eslint-plugin-tailwindcss
Advanced tools
Comparing version 3.9.0-beta.1 to 3.9.0-beta.2
@@ -132,5 +132,6 @@ /** | ||
const isUsedByClassNamesPlugin = node.callee && node.callee.name === 'classnames'; | ||
const isVue = node.key && node.key.type === 'VDirectiveKey'; | ||
arg.properties.forEach((prop) => { | ||
sortNodeArgumentValue(node, isUsedByClassNamesPlugin ? prop.key : prop.value); | ||
const propVal = isUsedByClassNamesPlugin || isVue ? prop.key : prop.value; | ||
sortNodeArgumentValue(node, propVal); | ||
}); | ||
@@ -137,0 +138,0 @@ return; |
@@ -106,5 +106,6 @@ /** | ||
const isUsedByClassNamesPlugin = node.callee && node.callee.name === 'classnames'; | ||
const isVue = node.key && node.key.type === 'VDirectiveKey'; | ||
arg.properties.forEach((prop) => { | ||
parseForNegativeArbitraryClassNames(node, isUsedByClassNamesPlugin ? prop.key : prop.value); | ||
const propVal = isUsedByClassNamesPlugin || isVue ? prop.key : prop.value; | ||
parseForNegativeArbitraryClassNames(node, propVal); | ||
}); | ||
@@ -111,0 +112,0 @@ return; |
@@ -159,5 +159,6 @@ /** | ||
const isUsedByClassNamesPlugin = node.callee && node.callee.name === 'classnames'; | ||
const isVue = node.key && node.key.type === 'VDirectiveKey'; | ||
arg.properties.forEach((prop) => { | ||
parseForShorthandCandidates(node, isUsedByClassNamesPlugin ? prop.key : prop.value); | ||
const propVal = isUsedByClassNamesPlugin || isVue ? prop.key : prop.value; | ||
parseForShorthandCandidates(node, propVal); | ||
}); | ||
@@ -164,0 +165,0 @@ return; |
@@ -106,5 +106,6 @@ /** | ||
const isUsedByClassNamesPlugin = node.callee && node.callee.name === 'classnames'; | ||
const isVue = node.key && node.key.type === 'VDirectiveKey'; | ||
arg.properties.forEach((prop) => { | ||
parseForArbitraryValues(node, isUsedByClassNamesPlugin ? prop.key : prop.value); | ||
const propVal = isUsedByClassNamesPlugin || isVue ? prop.key : prop.value; | ||
parseForArbitraryValues(node, propVal); | ||
}); | ||
@@ -111,0 +112,0 @@ return; |
{ | ||
"name": "eslint-plugin-tailwindcss", | ||
"version": "3.9.0-beta.1", | ||
"version": "3.9.0-beta.2", | ||
"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
170616
4600