4 个仓库
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 是一个命令行代码样式工具和 JavaScript 格式化程序,集成了 Prettier 和 ESLint。它作为一个 Lint 包装器,协调格式化和 Linting 任务的顺序流水线,以确保源代码既美观一致又符合规则。 该工具通过在格式化后执行 Linting 修复来解决样式指南与逻辑规则之间的冲突。它允许配置格式化顺序以优先处理特定规则,并能识别未格式化的文件,从而方便在版本控制钩子中使用。 该项目提供了自动 Linting 修复和详细错误分析的能力,能够报告带有行号的规则违规。它支持直接覆盖文件,并可集成到静态分析工作流和自动化构建流水线中。
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.
该项目是一个教育资源,旨在通过逐步构建一个功能性的终端文本编辑器来教授底层软件开发。它提供了一个循序渐进的课程,指导用户使用 C 语言和标准终端输入处理从零开始构建一个交互式应用程序。 该教程的独特之处在于采用了增量实现模式,每个功能里程碑都建立在之前的代码之上,以确保平缓的学习曲线。为了支持这一过程,项目包含一个命令行工具,用于将本地源代码与参考实现进行比较,通过标准化空格和格式来验证每个开发步骤的正确性。 课程涵盖了基础的终端架构,包括原始模式输入处理、动态缓冲区管理以及用于显示渲染的转义序列。这些练习提供了管理终端用户界面和文本数据结构的实践经验。项目文档结构旨在促进自定进度的学习,并可部署到远程托管环境。
Includes a command-line utility to verify code correctness by comparing local files against reference implementations.