eslint-plugin-tailwindcss
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -151,3 +151,3 @@ /** | ||
const suffix = groupUtil.getSuffix(cls, mergedConfig.separator); | ||
if (/^(backdrop\-)?filter|filter|transform$/i.test(suffix)) { | ||
if (/^((backdrop\-)?filter|transform)$/i.test(suffix)) { | ||
notNeeded.push(cls); | ||
@@ -154,0 +154,0 @@ return false; |
@@ -43,5 +43,3 @@ /** | ||
const opacityKeys = !config.theme['opacity'] ? [] : Object.keys(config.theme['opacity']); | ||
if (opacityKeys.length === 0) { | ||
return ''; | ||
} | ||
opacityKeys.push('\\[(0|1|0?\\.\\d{1,})\\]'); | ||
return `(\\/(${opacityKeys.join('|')}))?`; | ||
@@ -48,0 +46,0 @@ } |
{ | ||
"name": "eslint-plugin-tailwindcss", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Rules enforcing best practices while using Tailwind CSS", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"postcss": "^8.4.4", | ||
"tailwindcss": "^3.0.0" | ||
"tailwindcss": "^3.0.7" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
@@ -9,3 +9,3 @@ # eslint-plugin-tailwindcss | ||
## **๐ The version 3 of plugin is now ready for TailwindCSS v3 ๐** | ||
## **๐ Version 3 is now ready for TailwindCSS v3 ๐** | ||
@@ -19,2 +19,4 @@ ## Make sure to use the correct version | ||
**If you are using the eslint extension, make sure to restart VSCode in order to use the lastest version of the plugin and not the former version from the cache.** | ||
## We need you โค๏ธ | ||
@@ -36,2 +38,6 @@ | ||
- FIX: [Arbitrary values of color opacity](https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/80) | ||
- FIX: [Class transition-transform throws the wrong warning](https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/77) | ||
- New rule: [`migration-from-tailwind-2`](docs/rules/migration-from-tailwind-2.md) for easy migration from TailwindCSS `v2` to `v3` | ||
@@ -38,0 +44,0 @@ |
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
113895
183
3212
Updatedtailwindcss@^3.0.7