2 dépôts
Tools specifically designed to automate the formatting of shell scripts.
Distinct from Shell Scripting Linters: Distinct from linters which only detect errors; formatters actively rewrite the code for style.
Explore 2 awesome GitHub repositories matching development tools & productivity · Shell Script Formatters. Refine with filters or upvote what's useful.
Spotless est un orchestrateur de formatage multi-langage et un plugin Gradle qui automatise le style de code sur divers langages de programmation au sein d'un pipeline de build unique. Il fonctionne comme un coordinateur pour plusieurs formateurs tiers, un outil de linting de style de code et un système pour insérer et mettre à jour des en-têtes de licence standardisés. Le projet se distingue par une application du style intégrée à git, utilisant des hooks de pré-push et des références git pour appliquer le formatage uniquement aux fichiers ou lignes modifiés. Il prend en charge des configurations de build partagées, permettant aux règles de formatage d'être distribuées et chargées sur plusieurs projets via des artefacts distants pour maintenir une source unique de vérité. L'outil couvre un large éventail de capacités, notamment la transformation de texte de code source via des expressions régulières et des patchs JSON, la gestion des imports et la standardisation des espaces blancs. Il s'intègre avec un large éventail de binaires et d'outils externes pour des langages tels que Java, Python, Kotlin, C++, Go et TypeScript. Une fonctionnalité supplémentaire inclut la vérification du formatage pour assurer l'idempotence et l'optimisation incrémentale pour ignorer les fichiers inchangés.
Standardizes the layout of shell script files using the shfmt formatter.
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
Standardizes the layout of shell scripts using a consistent style guide to improve readability.