Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

eslint-plugin-tailwindcss

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-tailwindcss - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

lib/rules/migration-from-tailwind-2.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc