3 dépôts
Enforcement of alphabetical or logical ordering of property and type declarations.
Distinct from Lexicographical Sorting: Candidates focus on database key sorting or algorithm implementations, not source code stylistic sorting.
Explore 3 awesome GitHub repositories matching software engineering & architecture · Declaration 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
Requires default property declarations to be ordered alphabetically to make configurations easier to locate.
SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It automatically applies consistent style rules and visual formatting to source files to ensure a uniform appearance across a project. The project differentiates itself by providing both a command-line interface for batch processing and an Xcode extension for integration directly into the development environment. It includes specialized capabilities for modernizing legacy API usage, simplifying language constructs, and inferring formatting options by analyzing an existing codebase
Sorts members within classes and structs by visibility or type and inserts category markers for navigation.
Ce projet est un plugin Prettier conçu pour alphabétiser, regrouper et formater les déclarations d'importation de modules dans les fichiers JavaScript et TypeScript. Il fonctionne comme un organisateur d'importation automatisé qui garantit un ordre de déclaration et un espacement cohérents à travers un projet. Le plugin utilise des modèles d'expressions régulières personnalisés pour séquencer les importations de dépendances en groupes logiques, permettant la séparation des modules internes et externes. Il prend en charge la préservation des importations à effets de bord et offre la possibilité de trier les membres nommés individuels au sein d'une seule déclaration par longueur de chaîne ou par ordre alphabétique. Les utilisateurs peuvent configurer le comportement de tri via des bascules de sensibilité à la casse et utiliser des marqueurs de commentaire pour exclure des fichiers ou des déclarations spécifiques de la réorganisation. L'outil gère également la séparation visuelle en insérant de nouvelles lignes entre les groupes d'importation définis.
Sorts individual named members within a single import declaration by string length or alphabetization.