Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 2.42 KB

File metadata and controls

54 lines (44 loc) · 2.42 KB

Changelog

0.4.3 - 2023-06-20

Updated

  • Updated the order config to include newly added/missing prefixes, especially focusing on the upcoming support for aria tags.
  • Added missing options for gradient settings from, middle, to

0.4.2 - 2023-05-26

Fixed

  • Fixed a bug, where when trying to order a template string with a ${} variable at the end of it, causing to add undefined to the element.

0.4.1 - 2023-03-19

Fixed

  • Fixed a bug that caused the className string inside a template string to be placed at the start of the AST.

0.4.0 - 2023-03-13

Updated

  • Refactored and modularized codebase

Fixed

  • Fixed a bug where the library crashed when trying to order an expression that includes a function call with multiple arguments.

0.3.1 - 2023-01-19

Updated

  • Adjusted README

0.3.0 - 2023-01-19

Updated

  • Removed unecessary files from lib
  • Changed package name to @aacn.eu/eslint-plugin-tailwind-classname-order

Added

  • Added support for tailwind-rn
  • Added support for expressions
 // tailwind-rn
<div style={tailwind("px-3 mt-4")}></div>

// expressions
<div className={"px-3 mt-4"}></div>
<div className={`px-3 mt-4 ${myVar}`}></div>

0.2.7 - 2022-09-08

Fixed

  • Fixed a bug, where the plugin couldn't interpret classNames that had the !important modifier added to it (e.g. !text-green).

0.2.6 - 2022-09-08

Added

  • Updated readme to include roadmap and add changelog

Fixed

  • Fixed a bug, where when a className contained a line-break within, the ordered list started with some whitespace.

0.2.5 - 2022-09-07

Added

  • First stable running version