Skip to content

【规则名称】 代码格式化范围约束 #2

@RTxin

Description

@RTxin

格式化代码时,仅对 修改部分(selected changed code) 执行格式化操作,严禁对整个类或文件进行全局格式化。

由于团队成员 IDE 配置存在差异,全局格式化会导致无关的格式变更混入提交记录,造成 Git 变更内容难以追溯与审查。

能否支持这个规则的检测

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions