1 个仓库
Utilities that transform source code by treating the entire file as a string during processing pipelines.
Distinct from String Value Transformers: Distinct from general string value transformers as it specifically targets the hand-off of source code between a formatter and linter.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Source Code String Transformers. Refine with filters or upvote what's useful.
prettier-eslint 是一个命令行代码样式工具和 JavaScript 格式化程序,集成了 Prettier 和 ESLint。它作为一个 Lint 包装器,协调格式化和 Linting 任务的顺序流水线,以确保源代码既美观一致又符合规则。 该工具通过在格式化后执行 Linting 修复来解决样式指南与逻辑规则之间的冲突。它允许配置格式化顺序以优先处理特定规则,并能识别未格式化的文件,从而方便在版本控制钩子中使用。 该项目提供了自动 Linting 修复和详细错误分析的能力,能够报告带有行号的规则违规。它支持直接覆盖文件,并可集成到静态分析工作流和自动化构建流水线中。
Passes the codebase as a string between a formatter and a linter to apply successive modifications.