0.4.3 - 2023-06-20
- 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 a bug, where when trying to order a template string with a
${}
variable at the end of it, causing to addundefined
to the element.
0.4.1 - 2023-03-19
- 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
- Refactored and modularized codebase
- 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
- Adjusted README
0.3.0 - 2023-01-19
- Removed unecessary files from lib
- Changed package name to @aacn.eu/eslint-plugin-tailwind-classname-order
- 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 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
- Updated readme to include roadmap and add changelog
- 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
- First stable running version