2 个仓库
Automated ordering of utility classes found within non-standard attributes or framework-specific props.
Distinct from Prop Sorting: Distinct from prop sorting; focuses on the sequence of classes within the prop value, not the order of the props themselves.
Explore 2 awesome GitHub repositories matching user interface & experience · Attribute Class Sorting. Refine with filters or upvote what's useful.
This project is a Prettier plugin and Tailwind CSS class sorter that automatically organizes utility classes into a consistent and recommended order. It functions as a frontend styling formatter and CSS utility organizer, removing duplicate classes and sorting style attributes across HTML and JavaScript files. The tool ensures consistent markup formatting by ordering utility classes within HTML attributes, template literals, JavaScript expressions, and custom framework props. It integrates with Tailwind CSS configuration files and stylesheets to synchronize sorting behavior with custom theme
Reorders utility classes found within non-standard attributes or framework props.
这是一个用于 Blade 模板文件的代码格式化程序,可在 VS Code 编辑器中标准化缩进和间距。它作为一个模板格式化程序和 HTML 属性排序器,根据自定义或预设的样式规则清理语法和布局。 该工具的独特之处在于能够自动组织 HTML 属性,并将 Tailwind CSS 工具类排序为可预测的顺序。它使用基于 JSON 的配置系统来加载项目特定的规则和排除列表,使团队能够同步代码风格并防止版本控制冲突。 其广泛的功能包括通过全局忽略列表或内联注释管理格式化范围、根据正式模式验证配置文件,以及自定义缩进和空格规则。 该项目通过语言服务器协议(LSP)与编辑器集成。
Reorganizes HTML attributes based on alphabetical or custom regular expression patterns.