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.7.0 to 3.7.1

9

lib/rules/enforces-shorthand.js

@@ -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": [

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