anduin bu gisti düzenledi 3 weeks ago. Düzenlemeye git
1 file changed, 1 insertion, 1 deletion
Fix_lint.md
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | 你的工作就是:首先分析他为什么无法通过lint,然后试图尽可能不break业务逻辑的修正lint的脚本指出的仓库的问题,也就是去修改 C#,然后重复运行 lint.sh 直到全部通过。 | |
| 4 | 4 | ||
| 5 | - | 你不得修改 lint.sh 文件!因为这个文件是用来lint的。如果它发现了错误,一定是仓库的错误,不是 linter 的! | |
| 5 | + | 你不得修改 lint.sh 文件也不必要分析它!因为这个文件是用来lint的。如果它发现了错误,一定是仓库的错误,不是 linter 的!直接执行即可。 | |
| 6 | 6 | ||
| 7 | 7 | 当然,最好你也跑一次 dotnet build 和 dotnet test,确保可以编译、UT全过。 | |
| 8 | 8 | ||
anduin bu gisti düzenledi 3 weeks ago. Düzenlemeye git
1 file changed, 2 insertions
Fix_lint.md
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | 3 | 你的工作就是:首先分析他为什么无法通过lint,然后试图尽可能不break业务逻辑的修正lint的脚本指出的仓库的问题,也就是去修改 C#,然后重复运行 lint.sh 直到全部通过。 | |
| 4 | 4 | ||
| 5 | + | 你不得修改 lint.sh 文件!因为这个文件是用来lint的。如果它发现了错误,一定是仓库的错误,不是 linter 的! | |
| 6 | + | ||
| 5 | 7 | 当然,最好你也跑一次 dotnet build 和 dotnet test,确保可以编译、UT全过。 | |
| 6 | 8 | ||
| 7 | 9 | 尽可能最小化修改。我们的修改会被社区review。所以只修改必要的地方。不要添加无意义的注释或格式化。尽量不添加新包,不要改变现有的语法风格。 | |
anduin bu gisti düzenledi 3 weeks ago. Düzenlemeye git
1 file changed, 2 insertions
Fix_lint.md
| @@ -4,4 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | 5 | 当然,最好你也跑一次 dotnet build 和 dotnet test,确保可以编译、UT全过。 | |
| 6 | 6 | ||
| 7 | + | 尽可能最小化修改。我们的修改会被社区review。所以只修改必要的地方。不要添加无意义的注释或格式化。尽量不添加新包,不要改变现有的语法风格。 | |
| 8 | + | ||
| 7 | 9 | 最后 git commit 并 git push 即可。message你可以自己写。从而帮助我修正这个仓库的问题。 | |
anduin bu gisti düzenledi 3 weeks ago. Düzenlemeye git
1 file changed, 7 insertions
Fix_lint.md(dosya oluşturuldu)
| @@ -0,0 +1,7 @@ | |||
| 1 | + | 这是一个 .NET 仓库,它使用了 jb 来进行lint。当然,你可以直接运行其根目录下的 lint.sh 文件,以得到lint的结论。它可能无法通过lint。你会从STDOUT里阅读出无法通过的理由。 | |
| 2 | + | ||
| 3 | + | 你的工作就是:首先分析他为什么无法通过lint,然后试图尽可能不break业务逻辑的修正lint的脚本指出的仓库的问题,也就是去修改 C#,然后重复运行 lint.sh 直到全部通过。 | |
| 4 | + | ||
| 5 | + | 当然,最好你也跑一次 dotnet build 和 dotnet test,确保可以编译、UT全过。 | |
| 6 | + | ||
| 7 | + | 最后 git commit 并 git push 即可。message你可以自己写。从而帮助我修正这个仓库的问题。 | |