12 dépôts
User-defined settings that determine the layout and styling rules applied during code reformatting.
Distinct from Configuration Formats: Distinct from general application configuration; specifically manages whitespace, indentation, and layout rules for code beautification.
Explore 12 awesome GitHub repositories matching development tools & productivity · Formatting Configurations. Refine with filters or upvote what's useful.
js-beautify is a web language beautifier and rule-based code stylizer designed to standardize the indentation and layout of JavaScript, HTML, and CSS. It converts minified or obfuscated source code into a human-readable format to improve maintainability and readability. The system enforces consistent coding styles through global configuration files and programmatic options. It also supports local formatting overrides, allowing users to control behavior for specific sections of a file using embedded comment directives. The project provides capabilities for source code style enforcement and we
Provides user-defined settings to control indentation size, brace styles, and line wrap lengths via configuration files.
js-beautify is a web language beautifier and code formatter designed to standardize the layout and structure of JavaScript, HTML, and CSS files. It reorganizes source code into a consistent, readable style by applying configurable indentation and spacing rules. The project includes a utility for unpacking minified scripts, which transforms compressed or obfuscated JavaScript into a human-readable format. It provides a command-line interface for executing bulk code reformatting across multiple files. The tool supports customizable formatting rules and language-specific overrides, which can be
Provides a system to map user-defined flags and configuration files to internal code layout rules.
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
Provides mechanism to toggle formatting rules via command-line arguments or shared configuration files.
rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide. It functions as both a code formatter for transforming source files and a style linter used to verify if code matches required formatting rules. The system is configurable, allowing for the definition of custom formatting rules and language editions through configuration files to override default styles. It also supports selective formatting by using dedicated skip markers to prevent specific blocks of code from being modified. The tool provides capabilities for both source
Allows customization of formatting behavior and language editions via a configuration file.
rustfmt is a Rust code formatter that operates as a Cargo subcommand, applying consistent formatting to Rust source files according to official style guidelines. It parses source code into a syntax tree, applies formatting rules to tree nodes, and pretty-prints the result back to text, with support for TOML-driven configuration that allows per-project style customization. The formatter is edition-aware, automatically selecting formatting rules based on the Rust edition specified in the project, and supports a style edition override that decouples formatting rules from the Rust edition used fo
Reads formatting options from a TOML configuration file placed in the project or any parent directory.
go-spew is a deep inspection library and debugging utility for Go. It functions as a data structure pretty printer that renders complex, nested types into human-readable strings with indentation and type information. The library provides specialized capabilities for visualizing internal program states, including the ability to dump data structures with pointer addresses and map keys. It includes a configuration system to adjust printing behavior, such as limiting recursion depth and setting indentation. The tool uses reflection-based type inspection and recursive tree traversal to handle nes
Provides user-defined settings to control indentation and detail levels for data structure formatting.
Ce projet est un guide de style JavaScript et une norme de codage Node.js conçus pour garantir la création de code cohérent, maintenable et lisible. Il sert de référence complète pour les conventions de nommage, le formatage et les modèles architecturaux. Le projet fournit un modèle de configuration de linting qui permet l'application automatique de ces normes. Cela inclut des préréglages de linting prédéfinis et une base de règles utilisées pour effectuer des vérifications logiques et un formatage automatique à travers une base de code. Les directives couvrent un large éventail de capacités de standardisation, y compris le formatage du code et des fichiers, l'implémentation de modèles de codage spécifiques et la définition de conventions de nommage pour les identifiants. Ces normes sont appliquées via des configurations de linting automatisées pour maintenir la qualité tout au long des flux de travail de développement.
Provides centralized settings to control indentation and whitespace for consistent code layout.
conform.nvim is a Neovim plugin that formats code buffers using external formatters while preserving editor state such as cursor position, folds, and viewport. It supports embedded code block formatting, applying language-specific formatting rules to code blocks inside Markdown and similar documents. The plugin runs formatters asynchronously via Neovim's job control, keeping the editor responsive during formatting operations. It offers a configurable formatter selection algorithm that picks a formatter based on filetype, buffer-local variables, or custom predicate functions. Users can define
Supports both synchronous and asynchronous formatting with configurable timeout and range selection.
Emmet est un générateur de code de balisage et une boîte à outils de productivité pour le développement web. Il sert de moteur d'expansion qui convertit des abréviations abrégées et des sélecteurs de type CSS en structures HTML, XML et autres structures de balisage complètes. Le projet dispose d'un moteur d'expansion dédié aux abréviations CSS qui transforme des codes de propriétés concis en déclarations de style complètes, incluant la génération automatique de préfixes vendeurs et de dégradés. Il se distingue par un processus d'expansion programmable via des définitions de snippets personnalisés, le mappage d'alias d'abréviations et une extensibilité par script. La boîte à outils couvre un large éventail de capacités, notamment la génération de balisage avec multiplication d'éléments et numérotation itérative, ainsi que des utilitaires d'éditeur pour la navigation structurelle et la sélection équilibrée de balises. Elle fournit également des outils pour la création de feuilles de style CSS, l'ajustement de valeurs numériques et la gestion des médias pour la conversion de données d'image en URL et la mise à jour des dimensions.
Provides user-defined settings for controlling the layout, indentation, and quoting of generated markup.
prettier-eslint est un styliste de code en ligne de commande et un formateur JavaScript qui intègre Prettier et ESLint. Il fonctionne comme un wrapper de linter, coordonnant un pipeline séquentiel de tâches de formatage et de linting pour garantir que le code source est à la fois esthétiquement cohérent et conforme aux règles. L'outil résout les conflits entre les guides de style et les règles de logique en exécutant des corrections de linting après le formatage. Il permet une séquence de formatage configurable pour prioriser des règles spécifiques et peut identifier les fichiers non formatés pour faciliter l'utilisation dans les hooks de contrôle de version. Le projet fournit des capacités pour les corrections de linting automatiques et une analyse d'erreur détaillée qui signale les violations de règles avec les positions de ligne. Il prend en charge l'écrasement direct des fichiers et s'intègre dans les flux de travail d'analyse statique et les pipelines de build automatisés.
Provides configuration options to determine the order of formatter and linter execution to prioritize specific rules.
This project is a set of git pre-commit hooks designed to automate the formatting, linting, and validation of Terraform configurations. It functions as an infrastructure as code linter, security scanner, cost estimator, and documentation generator to ensure code quality before commits are finalized. The tool distinguishes itself by providing specialized capabilities for infrastructure workflows, such as scanning templates for security vulnerabilities and hardcoded secrets, calculating projected cloud spending against budgets, and automatically extracting module definitions to populate readme
Automatically standardizes the style and layout of configuration files before committing code.
Php-generator is a metaprogramming library for programmatically generating, inspecting, parsing, and manipulating PHP source code using expressive object-oriented structures. It allows developers to construct classes, interfaces, traits, enums, functions, closures, and complete files without writing raw strings. The library features automated namespace resolution to manage fully qualified class names and use statements, preventing naming collisions in generated output. It also includes configurable formatting utilities that transform abstract syntax trees into text strings adhering to establ
Transforms abstract syntax trees into formatted text strings adhering strictly to established coding style specifications and custom rules.