Skip to content

Commit f47a7c4

Browse files
committed
docs(branches): add rule forbidding full-file clang-format PRs on release/2.x
1 parent 8514a12 commit f47a7c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Please [visit our Wiki](https://github.com/axmolengine/axmol/wiki) to know more
3939
>
4040
> Use the `dev` branch if you want to contribute to v3 development or test new features. For production deployment, please use the `release/2.x` branch.
4141
>
42-
> ⚠️ **Do not submit PRs to the `release/2.x` branch that apply full-file `clang-format` changes.**
43-
> Such changes significantly increase merge conflicts and consume unnecessary time from @halx99.
42+
> ⚠️ **Do not submit PRs to the `release/2.x` branch that apply full-file `clang-format` or large-scale reformatting changes.**
43+
> Such changes significantly increase merge conflicts and make code review unnecessarily difficult, consuming @halx99’s time.
4444
> Any PRs violating this rule **will not be accepted**.
4545
4646
***

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
>
4040
> 如需参与 v3 开发或测试新特性,请使用 `dev` 分支;如需在生产环境部署,请使用 `release/2.x` 分支。
4141
>
42-
> ⚠️ **请不要在 `release/2.x` 分支的 PR 中使用全文件的 `clang-format` 格式化操作**
43-
> 这类改动会显著增加合并冲突,并消耗 @halx99 不必要的时间。
42+
> ⚠️ **请不要在 `release/2.x` 分支的 PR 中使用全文件的 `clang-format` 或进行大规模的代码格式化操作**
43+
> 这类改动不仅会显著增加合并冲突,还会导致代码审查(review)变得困难,并消耗 @halx99 不必要的时间。
4444
> 任何违反此规则的 PR **将不会被接收**
4545
4646
***

0 commit comments

Comments
 (0)