Socket
Socket
Sign inDemoInstall

eslint-plugin-tailwindcss

Package Overview
Dependencies
Maintainers
1
Versions
183
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.15.3-beta.0 to 3.15.3-beta.9

7

lib/util/parser.js

@@ -9,3 +9,6 @@ /**

function defineTemplateBodyVisitor(context, templateBodyVisitor, scriptVisitor) {
if (context.parserServices == null || context.parserServices.defineTemplateBodyVisitor == null) {
if (
context.sourceCode.parserServices == null ||
context.sourceCode.parserServices.defineTemplateBodyVisitor == null
) {
// Default parser

@@ -17,3 +20,3 @@ return scriptVisitor;

// @see https://eslint.org/docs/developer-guide/working-with-rules#the-context-object
return context.parserServices.defineTemplateBodyVisitor(templateBodyVisitor, scriptVisitor);
return context.sourceCode.parserServices.defineTemplateBodyVisitor(templateBodyVisitor, scriptVisitor);
}

@@ -20,0 +23,0 @@

{
"name": "eslint-plugin-tailwindcss",
"version": "3.15.3-beta.0",
"version": "3.15.3-beta.9",
"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