eslint-plugin-tailwindcss
Advanced tools
Comparing version 3.14.1 to 3.14.2-beta.0
@@ -541,4 +541,28 @@ /** | ||
type: 'Font Variant Numeric', | ||
members: | ||
'(normal|lining|oldstyle|proportional|tabular)\\-nums|ordinal|slashed-zero|(diagonal|stacked)\\-fractions', | ||
members: [ | ||
{ | ||
type: 'Normal Nums', | ||
members: 'normal\\-nums', | ||
}, | ||
{ | ||
type: 'Ordinal', | ||
members: 'ordinal', | ||
}, | ||
{ | ||
type: 'Slashed Zero', | ||
members: 'slashed-zero', | ||
}, | ||
{ | ||
type: 'Style Nums', | ||
members: '(lining|oldstyle)\\-nums', | ||
}, | ||
{ | ||
type: 'Proportinal or Tabular', | ||
members: '(proportional|tabular)\\-nums', | ||
}, | ||
{ | ||
type: 'Fractions', | ||
members: '(diagonal|stacked)\\-fractions', | ||
}, | ||
], | ||
}, | ||
@@ -545,0 +569,0 @@ { |
@@ -248,4 +248,6 @@ /** | ||
// w-screen + h-screen ≠ size-screen (Issue #307) | ||
const validValue = | ||
bodyMatch && !(['w-', 'h-'].includes(remainingClass.body) && ['screen'].includes(remainingClass.value)); | ||
const spacingKeys = Object.keys(mergedConfig.theme.spacing); | ||
const isSize = ['w-', 'h-'].includes(remainingClass.body); | ||
const isValidSize = spacingKeys.includes(remainingClass.value); | ||
const validValue = bodyMatch && !(isSize && !isValidSize); | ||
return validValue; | ||
@@ -252,0 +254,0 @@ } |
{ | ||
"name": "eslint-plugin-tailwindcss", | ||
"version": "3.14.1", | ||
"version": "3.14.2-beta.0", | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
187685
4839
1