🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

eslint-plugin-readable-tailwind

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-readable-tailwind - npm Package Versions

2345
9

2.1.2

Diff
schoero
published 2.1.2 •

Changelog

Source

v2.1.2

compare changes

Fixes

  • Multiline quotes (#96)

Refactors

  • Report error for each duplicate class instead of the whole class string (#91)
schoero
published 2.2.0-no-unregistered-classes.2 •
schoero
published 2.2.0-no-unregistered-classes.1 •
schoero
published 2.1.1 •

Changelog

Source

v2.1.1

compare changes

Fixes

  • Unnecessarily escaped quotes in autofixed classes (#88)
schoero
published 2.2.0-no-unregistered-classes.0 •
schoero
published 2.1.0 •

Changelog

Source

v2.1.0

compare changes

Features

  • Experimental angular support. (#85)

Fixes

  • Keep carriage return in es literals when used with vue parser (#84)
schoero
published 2.0.1 •

Changelog

Source

v2.0.1

compare changes

Fixes

  • Keep original newline characters (a564783)

Refactors

  • Display warning if plugin is misconfigured (7c532cd)

Documentation

  • Update quick start guide (e570981)
schoero
published 2.0.0 •

Changelog

Source

v2.0.0

Adds tailwindcss v4 support while keeping support for tailwindcss v3. (#78)

This version contains breaking changes. Most notably support for Node.js < 20 had to be dropped. The other breaking changes are mostly just changes of the default config, that may cause linting errors.

Migration

Changes

  • Reload tailwind config automatically if a change is detected.
  • Options now correctly override settings (#66)

⚠️ Breaking Changes

  • ⚠️ Drop support for Node.js < 20 due to incompatibility of worker threads.
  • ⚠️ Add support for tailwindcss v4 (#25)
    • The official class ordering seems to have changed slightly.
    • The improved sorting order will no longer sort variants alphabetically, instead it just makes sure that identical variants are grouped together.
  • ⚠️ Regex names (#63)
    • "Names" can now be regular expressions. This is a breaking change, if you have names configured that contain reserved characters in regular expressions like $.
  • ⚠️ Enable no-duplicate-classes by default (#67)
  • ⚠️ Change default multiline grouping to newLine (#68)
  • ⚠️ Rename classAttributes to attributes (#69)
schoero
published 2.0.0-beta.4 •
schoero
published 2.0.0-beta.3 •
2345
9