3 个仓库
Automated alphabetical ordering of properties passed to components.
Distinct from Prop Transformations: Distinct from prop transformations: focuses on the visual order of props rather than modifying the data they carry.
Explore 3 awesome GitHub repositories matching user interface & experience · Prop Sorting. Refine with filters or upvote what's useful.
This project is an ESLint plugin and static analysis tool designed to enforce best practices, prevent bugs, and maintain code quality in React projects. It functions as a specialized JSX linter that analyzes the syntax and structure of components to detect anti-patterns and API misuse. The plugin distinguishes itself by providing deep analysis of React-specific patterns, such as detecting state race conditions, preventing nested component definitions, and identifying unstable references that cause unnecessary re-renders. It also includes security hardening rules to identify vulnerabilities li
Enforces alphabetical ordering of props in elements to make them easier to locate and maintain.
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.