4 Repos
Command-line utilities that automate the reformatting of source code files.
Distinct from CLI Output Formatters: Specifically focuses on the tool that performs the formatting action via CLI, rather than the output format of the CLI tool.
Explore 4 awesome GitHub repositories matching development tools & productivity · CLI Code Formatters. Refine with filters or upvote what's useful.
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 command-line interface for executing bulk code reformatting and outputting results to files or the terminal.
prettier-eslint ist ein Kommandozeilen-Code-Stylist und JavaScript-Formatter, der Prettier und ESLint integriert. Er fungiert als Linter-Wrapper und koordiniert eine sequentielle Pipeline aus Formatierungs- und Linting-Aufgaben, um sicherzustellen, dass der Quellcode sowohl ästhetisch konsistent als auch regelkonform ist. Das Tool löst Konflikte zwischen Styleguides und Logikregeln, indem es Linting-Korrekturen nach der Formatierung ausführt. Es ermöglicht eine konfigurierbare Formatierungssequenz zur Priorisierung spezifischer Regeln und kann unformatierte Dateien identifizieren, um die Verwendung in Versionskontroll-Hooks zu erleichtern. Das Projekt bietet Funktionen für automatische Linting-Korrekturen und detaillierte Fehleranalysen, die Regelverstöße mit Zeilenpositionen melden. Es unterstützt das direkte Überschreiben von Dateien und integriert sich in statische Analyse-Workflows und automatisierte Build-Pipelines.
Provides a command-line utility to process files through a sequential pipeline of formatting and linting tasks.
dprint is a multi-language code formatter that applies consistent styling across various programming languages using a pluggable architecture. It functions as a unified project style management tool, a command-line interface for continuous integration style enforcement, and a Language Server Protocol implementation for real-time formatting in editors. The project is distinguished by a WebAssembly-based plugin system that loads sandboxed formatting logic from URLs or file paths. It further extends its capabilities through a process-based tool integration that wraps external command-line interf
Integrates local command-line tools to style source code using any host-machine formatter.
Dieses Projekt ist eine Bildungsressource, die Low-Level-Softwareentwicklung durch den schrittweisen Aufbau eines funktionalen terminalbasierten Texteditors vermittelt. Es bietet einen Lehrplan, der Benutzer Schritt für Schritt durch den Prozess der Erstellung einer interaktiven Anwendung von Grund auf mit C und Standard-Terminal-Input-Handling führt. Das Tutorial zeichnet sich durch ein inkrementelles Implementierungsmuster aus, bei dem jeder funktionale Meilenstein auf dem vorherigen Code aufbaut, um eine bewältigbare Lernkurve zu gewährleisten. Zur Unterstützung dieses Prozesses enthält das Projekt ein CLI-Tool, das den lokalen Quellcode mit Referenzimplementierungen vergleicht und Whitespace sowie Formatierungen normalisiert, um die Korrektheit jedes Entwicklungsschritts zu verifizieren. Der Lehrplan deckt grundlegende Terminal-Architektur ab, einschließlich Raw-Mode-Input-Handling, dynamischem Puffer-Management und der Verwendung von Escape-Sequenzen für das Display-Rendering. Diese Übungen bieten praktische Erfahrung im Umgang mit Terminal-Benutzeroberflächen und textbasierten Datenstrukturen. Die Projektdokumentation ist so strukturiert, dass sie selbstgesteuertes Lernen erleichtert und für die Bereitstellung in Remote-Hosting-Umgebungen geeignet ist.
Includes a command-line utility to verify code correctness by comparing local files against reference implementations.