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.9.0-beta.1 to 3.9.0-beta.2

5

lib/rules/classnames-order.js

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

2

package.json
{
"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": [

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