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.8.0 to 3.8.1-beta.0

10

lib/index.js

@@ -40,4 +40,14 @@ /**

},
overrides: [
{
files: ['*.html', '*.blade.php'],
parser: '@angular-eslint/template-parser',
},
{
files: ['*.ts', '*.tsx', '*.js'],
parser: '@typescript-eslint/template-parser',
},
],
},
},
};

2

lib/util/cssFiles.js

@@ -20,3 +20,3 @@ 'use strict';

const now = new Date().getTime();
const files = fg.sync(patterns);
const files = fg.sync(patterns, { suppressErrors: true });
const newGlobs = previousGlobsResults.flat().join(',') != files.flat().join(',');

@@ -23,0 +23,0 @@ const expired = lastUpdate === null || now - lastUpdate > refreshRate;

{
"name": "eslint-plugin-tailwindcss",
"version": "3.8.0",
"version": "3.8.1-beta.0",
"description": "Rules enforcing best practices while using Tailwind CSS",

@@ -26,6 +26,8 @@ "keywords": [

],
"peerDependencies": {
"tailwindcss": "^3.2.2"
},
"dependencies": {
"fast-glob": "^3.2.5",
"postcss": "^8.4.4",
"tailwindcss": "^3.2.2"
"postcss": "^8.4.4"
},

@@ -43,2 +45,3 @@ "devDependencies": {

"mocha": "^7.2.0",
"tailwindcss": "^3.2.2",
"typescript": "4.3.5",

@@ -45,0 +48,0 @@ "vue-eslint-parser": "^7.6.0"

@@ -86,3 +86,3 @@ # eslint-plugin-tailwindcss

```
$ npm i -D eslint-plugin-tailwindcss
$ npm i -D tailwindcss eslint-plugin-tailwindcss
```

@@ -89,0 +89,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